From 89a13b46bd1a0c8aa5c1dbbc6ed3d669c1448274 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 25 Jul 2012 21:15:33 +0200 Subject: hexdump: fix shadow declaration text-utils/hexdump.h:84:5: warning: shadowed declaration is here [-Wshadow] ./include/xalloc.h:23:28: warning: declaration of 'size' shadows a global declaration [-Wshadow] ./include/xalloc.h:33:40: warning: declaration of 'size' shadows a global declaration [-Wshadow] ./include/xalloc.h:43:49: warning: declaration of 'size' shadows a global declaration [-Wshadow] Signed-off-by: Sami Kerola --- text-utils/hexdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils/hexdump.c') diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c index 90c2d7757..a4a61cf89 100644 --- a/text-utils/hexdump.c +++ b/text-utils/hexdump.c @@ -68,7 +68,7 @@ int main(int argc, char **argv) /* figure out the data block size */ for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) { - tfs->bcnt = size(tfs); + tfs->bcnt = block_size(tfs); if (blocksize < tfs->bcnt) blocksize = tfs->bcnt; } -- cgit v1.2.3-55-g7522