summaryrefslogtreecommitdiffstats
path: root/text-utils/parse.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-25 21:15:33 +0200
committerKarel Zak2012-07-26 13:51:22 +0200
commit89a13b46bd1a0c8aa5c1dbbc6ed3d669c1448274 (patch)
tree80ba6be3ae38454b1bffd2002201de6110cb4ea2 /text-utils/parse.c
parentul: fix shadow declaration (diff)
downloadkernel-qcow2-util-linux-89a13b46bd1a0c8aa5c1dbbc6ed3d669c1448274.tar.gz
kernel-qcow2-util-linux-89a13b46bd1a0c8aa5c1dbbc6ed3d669c1448274.tar.xz
kernel-qcow2-util-linux-89a13b46bd1a0c8aa5c1dbbc6ed3d669c1448274.zip
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 <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/parse.c')
-rw-r--r--text-utils/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/parse.c b/text-utils/parse.c
index 481db6d3e..5f1e2bda7 100644
--- a/text-utils/parse.c
+++ b/text-utils/parse.c
@@ -150,7 +150,7 @@ void add(const char *fmt)
static const char *spec = ".#-+ 0123456789";
-int size(FS *fs)
+int block_size(FS *fs)
{
FU *fu;
int bcnt, cursize;