diff options
author | Nick Clifton <nickc@redhat.com> | 2023-07-07 13:08:46 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-07-07 13:08:46 +0100 |
commit | ddb1d694217d64fdf266460b3e64c00b68a487cf (patch) | |
tree | c4da6ce05718c7f63b190356b15d910e3a91940c /ld/ldfile.c | |
parent | fcc246f351ab12df5e96bf2a654fee7cdb912b7f (diff) | |
download | gdb-ddb1d694217d64fdf266460b3e64c00b68a487cf.zip gdb-ddb1d694217d64fdf266460b3e64c00b68a487cf.tar.gz gdb-ddb1d694217d64fdf266460b3e64c00b68a487cf.tar.bz2 |
Replace local variable called 'rename' with 'renamed'
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index c8a6874..14ba1f1 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -199,7 +199,7 @@ ldfile_add_remap_file (const char * file) continue; } - char * rename = p; + char * renamed = p; /* Advance past the rename entry. */ while (*p && *p != '=' && *p != ' ' && *p != '\t' && *p != '\f' @@ -208,7 +208,7 @@ ldfile_add_remap_file (const char * file) /* And terminate it. */ *p = '\0'; - ldfile_add_remap (pattern, rename); + ldfile_add_remap (pattern, renamed); } while (! feof (f)); |