Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 13:34:11 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 13:34:11 +0300
commit3c6f6382eef14b880550cbf28ac5a517d0a075fc (patch)
treefa4a969aabbc2514c13279176add39441b341972 /include
parentaa4d303a3139107919f73cece4eaf85a7dc75db6 (diff)
libbb/dump: conditionalize code used only by xxd and od
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dump.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dump.h b/include/dump.h
index 11dcf4523..8fb92f07b 100644
--- a/include/dump.h
+++ b/include/dump.h
@@ -33,8 +33,12 @@ typedef struct dumper_t {
int dump_length; /* max bytes to read */
smallint dump_vflag; /*enum dump_vflag_t*/
FS *fshead;
+#if ENABLE_XXD
const char *xxd_eofstring;
+#endif
+#if ENABLE_OD
const char *od_eofstring;
+#endif
off_t address; /* address/offset in stream */
long long xxd_displayoff;
} dumper_t;