diff options
author | Denys Vlasenko | 2023-05-26 12:34:11 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-05-26 12:34:11 +0200 |
commit | 3c6f6382eef14b880550cbf28ac5a517d0a075fc (patch) | |
tree | fa4a969aabbc2514c13279176add39441b341972 /include | |
parent | aa4d303a3139107919f73cece4eaf85a7dc75db6 (diff) | |
download | busybox-3c6f6382eef14b880550cbf28ac5a517d0a075fc.zip busybox-3c6f6382eef14b880550cbf28ac5a517d0a075fc.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dump.h b/include/dump.h index 11dcf45..8fb92f0 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; |