aboutsummaryrefslogtreecommitdiff
path: root/coreutils/od.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-10 23:26:05 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-10 23:26:05 +0000
commit62d9a01fd604fba0e579bd2daf8fccd659f84a05 (patch)
tree7a77eafabd8476a7b41ec2c69d258c0e0fb32040 /coreutils/od.c
parentbef327c78d40d6a900a55f99fdd9a70767b9a28d (diff)
downloadbusybox-w32-62d9a01fd604fba0e579bd2daf8fccd659f84a05.tar.gz
busybox-w32-62d9a01fd604fba0e579bd2daf8fccd659f84a05.tar.bz2
busybox-w32-62d9a01fd604fba0e579bd2daf8fccd659f84a05.zip
od: provide full-blown od from coreutils if CONFIG_DESKTOP
git-svn-id: svn://busybox.net/trunk/busybox@16359 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/od.c')
-rw-r--r--coreutils/od.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/od.c b/coreutils/od.c
index 60a5174d9..9a2d4c343 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -11,12 +11,13 @@
11 * Original copyright notice is retained at the end of this file. 11 * Original copyright notice is retained at the end of this file.
12 */ 12 */
13 13
14// TODO: -t. busybox's own build script needs it
15 14
16#include <ctype.h> 15#if ENABLE_DESKTOP
17#include <string.h> 16/* This one provides -t (busybox's own build script needs it) */
17#include "od_bloaty.c"
18#else
19
18#include <getopt.h> 20#include <getopt.h>
19#include <stdlib.h>
20#include "busybox.h" 21#include "busybox.h"
21#include "dump.h" 22#include "dump.h"
22 23
@@ -191,6 +192,7 @@ int od_main(int argc, char **argv)
191 192
192 return bb_dump_dump(argv); 193 return bb_dump_dump(argv);
193} 194}
195#endif /* ENABLE_DESKTOP */
194 196
195/*- 197/*-
196 * Copyright (c) 1990 The Regents of the University of California. 198 * Copyright (c) 1990 The Regents of the University of California.