aboutsummaryrefslogtreecommitdiff
path: root/gdb/bcache.c
diff options
context:
space:
mode:
authorAndrey Smirnov <ndreys@sourceware.org>2011-12-05 03:58:23 +0000
committerAndrey Smirnov <ndreys@sourceware.org>2011-12-05 03:58:23 +0000
commit12747160cdd53394993534cba8b791c59187530a (patch)
treeae101d1d477ce6d8eee928356c5aa227752dba83 /gdb/bcache.c
parenta5ff83562895fa7659dc0f8802febf9b2b5d377b (diff)
downloadgdb-12747160cdd53394993534cba8b791c59187530a.zip
gdb-12747160cdd53394993534cba8b791c59187530a.tar.gz
gdb-12747160cdd53394993534cba8b791c59187530a.tar.bz2
* bcache.c (bcache): Rename `bcache' to `cache'(-Wshadow).
Diffstat (limited to 'gdb/bcache.c')
-rw-r--r--gdb/bcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bcache.c b/gdb/bcache.c
index 76e3893..5d7ed71 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -209,9 +209,9 @@ expand_hash_table (struct bcache *bcache)
never seen those bytes before, add a copy of them to BCACHE. In
either case, return a pointer to BCACHE's copy of that string. */
const void *
-bcache (const void *addr, int length, struct bcache *bcache)
+bcache (const void *addr, int length, struct bcache *cache)
{
- return bcache_full (addr, length, bcache, NULL);
+ return bcache_full (addr, length, cache, NULL);
}
/* Find a copy of the LENGTH bytes at ADDR in BCACHE. If BCACHE has