aboutsummaryrefslogtreecommitdiff
path: root/coreutils/od_bloaty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
commit043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 (patch)
treebab07bc427f178857896a8bf252c61ea1a5c67a2 /coreutils/od_bloaty.c
parent5370bfb123266ab5716f321e43d3f8f6da7d7143 (diff)
downloadbusybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.gz
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.bz2
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.zip
more C standard compat fixes from Dan Fandrich
function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/od_bloaty.c')
-rw-r--r--coreutils/od_bloaty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index 00efec51c..1d5769bd8 100644
--- a/coreutils/od_bloaty.c
+++ b/coreutils/od_bloaty.c
@@ -963,7 +963,7 @@ parse_old_offset(const char *s, off_t *offset)
963 static const struct suffix_mult Bb[] = { 963 static const struct suffix_mult Bb[] = {
964 { "B", 1024 }, 964 { "B", 1024 },
965 { "b", 512 }, 965 { "b", 512 },
966 { } 966 { "", 0 }
967 }; 967 };
968 char *p; 968 char *p;
969 int radix; 969 int radix;
@@ -1178,7 +1178,7 @@ int od_main(int argc, char **argv)
1178 { "b", 512 }, 1178 { "b", 512 },
1179 { "k", 1024 }, 1179 { "k", 1024 },
1180 { "m", 1024*1024 }, 1180 { "m", 1024*1024 },
1181 { } 1181 { "", 0 }
1182 }; 1182 };
1183 enum { 1183 enum {
1184 OPT_A = 1 << 0, 1184 OPT_A = 1 << 0,