Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/elf_load.c

    ra000878c rfb6f1a5  
    6060#define DPRINTF(...)
    6161
    62 static const char *error_codes[] = {
     62static char *error_codes[] = {
    6363        "no error",
    6464        "invalid image",
     
    9595 * pointed to by @a info.
    9696 *
    97  * @param file_name Path to the ELF file.
    98  * @param so_bias   Bias to use if the file is a shared object.
    99  * @param info      Pointer to a structure for storing information
    100  *                  extracted from the binary.
     97 * @param file_name     Path to the ELF file.
     98 * @param so_bias       Bias to use if the file is a shared object.
     99 * @param info          Pointer to a structure for storing information
     100 *                      extracted from the binary.
    101101 *
    102102 * @return EOK on success or negative error code.
    103  *
    104  */
    105 int elf_load_file(const char *file_name, size_t so_bias, elf_info_t *info)
     103 */
     104int elf_load_file(char *file_name, size_t so_bias, elf_info_t *info)
    106105{
    107106        elf_ld_t elf;
     
    131130 * earlier with elf_load_file(). This function does not return.
    132131 *
    133  * @param info Info structure filled earlier by elf_load_file()
    134  *
     132 * @param info  Info structure filled earlier by elf_load_file()
    135133 */
    136134void elf_run(elf_info_t *info, pcb_t *pcb)
     
    282280 * @return NULL terminated description of error.
    283281 */
    284 const char *elf_error(unsigned int rc)
     282char *elf_error(unsigned int rc)
    285283{
    286284        assert(rc < sizeof(error_codes) / sizeof(char *));
Note: See TracChangeset for help on using the changeset viewer.