Ignore:
Timestamp:
2010-02-25T19:11:25Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
958de16
Parents:
a634485
Message:

make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/include/elf_load.h

    ra634485 ra000878c  
    2727 */
    2828
    29 /** @addtogroup generic 
     29/** @addtogroup generic
    3030 * @{
    3131 */
     
    5151
    5252        /** ELF interpreter name or NULL if statically-linked */
    53         char *interp;
     53        const char *interp;
    5454
    5555        /** Pointer to the dynamic section */
     
    7474} elf_ld_t;
    7575
    76 int elf_load_file(char *file_name, size_t so_bias, elf_info_t *info);
     76int elf_load_file(const char *file_name, size_t so_bias, elf_info_t *info);
    7777void elf_run(elf_info_t *info, pcb_t *pcb);
    7878void elf_create_pcb(elf_info_t *info, pcb_t *pcb);
Note: See TracChangeset for help on using the changeset viewer.