summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.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/hexdump.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/hexdump.c')
-rw-r--r--text-utils/hexdump.c2
1 files changed, 1 insertions, 1 deletions
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;
}