diff options
author | Andreas Schwab <schwab@suse.de> | 2014-12-11 16:00:49 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2014-12-11 16:43:28 +0100 |
commit | acf869f4bcc1750da9a04371690d107c0d7a3189 (patch) | |
tree | 2ce6f533dba7a05eefa9361debcbd19a6492a26b /elf/rtld.c | |
parent | 9d96909913249f7b1ff9f503f8fa8abc458089a9 (diff) | |
download | glibc-acf869f4bcc1750da9a04371690d107c0d7a3189.zip glibc-acf869f4bcc1750da9a04371690d107c0d7a3189.tar.gz glibc-acf869f4bcc1750da9a04371690d107c0d7a3189.tar.bz2 |
Constify string parameters
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,7 +441,7 @@ struct relocate_args struct map_args { /* Argument to map_doit. */ - char *str; + const char *str; struct link_map *loader; int mode; /* Return value of map_doit. */ @@ -651,7 +651,7 @@ _dl_initial_error_catch_tsd (void) static unsigned int -do_preload (char *fname, struct link_map *main_map, const char *where) +do_preload (const char *fname, struct link_map *main_map, const char *where) { const char *objname; const char *err_str = NULL; |