mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Constify string parameters
This commit is contained in:
parent
9d96909913
commit
acf869f4bc
@ -1,3 +1,8 @@
|
||||
2014-12-11 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* elf/rtld.c (struct map_args): Constify str member.
|
||||
(do_preload): Constify fname argument.
|
||||
|
||||
2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user