* bcache.c (bcache): Rename `bcache' to `cache'(-Wshadow).
authorAndrey Smirnov <ndreys@sourceware.org>
Mon, 5 Dec 2011 03:58:23 +0000 (03:58 +0000)
committerAndrey Smirnov <ndreys@sourceware.org>
Mon, 5 Dec 2011 03:58:23 +0000 (03:58 +0000)
gdb/ChangeLog
gdb/bcache.c

index 7be3d1778c629a64e992f97912df555a377f6c6b..9cbded963fc10fcc13977bd69878970ff1e34875 100644 (file)
@@ -1,4 +1,9 @@
 2011-12-05  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * bcache.c (bcache): Rename `bcache' to `cache'(-Wshadow).
+
+2011-12-05  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
        * amd64-tdep.c (amd64_push_dummy_call): Remove nested definition
        of `tdep'(-Wshadow).
 
index 76e38936479801f83c654e943c8eb626b10672a3..5d7ed71ee446434f68e916ba1b8ba356fb27447b 100644 (file)
@@ -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
This page took 0.028009 seconds and 4 git commands to generate.