* bcache.c (bcache): Rename bcache' to cache'(-Wshadow).

This commit is contained in:
Andrey Smirnov 2011-12-05 03:58:23 +00:00
parent a5ff835628
commit 12747160cd
2 changed files with 7 additions and 2 deletions

View 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).

View 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