summaryrefslogtreecommitdiff
path: root/gdb/bcache.c
diff options
context:
space:
mode:
authorndreys <ndreys>2011-12-05 03:58:23 +0000
committerndreys <ndreys>2011-12-05 03:58:23 +0000
commite62cb21be2c3cc4b2266d7fb41d3a6a4c306be73 (patch)
tree79eb496ab174b3ffac8dd79a6a7fbe161029578e /gdb/bcache.c
parent9b834a5af7ea9384facab56bf7230c839f1a4770 (diff)
downloadgdb-e62cb21be2c3cc4b2266d7fb41d3a6a4c306be73.tar.gz
* 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 76e38936479..5d7ed71ee44 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