summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2023-05-27 14:51:46 +0200
committerDenys Vlasenko2023-05-27 14:52:17 +0200
commit9225f9684fedd5c997fc729fee29f8ac402b8db9 (patch)
treee3a39b09ee58143d0a86660f11760797d5b52c61 /include
parent6d9427420bab4ef756444fc8800dbf56d7dacf7d (diff)
downloadbusybox-9225f9684fedd5c997fc729fee29f8ac402b8db9.zip
busybox-9225f9684fedd5c997fc729fee29f8ac402b8db9.tar.gz
libbb/dump: make xxd_displayoff member conditional on xxd
With xxd not selected: function old new delta display 1459 1444 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dump.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dump.h b/include/dump.h
index 8fb92f0..c6763a6 100644
--- a/include/dump.h
+++ b/include/dump.h
@@ -33,14 +33,14 @@ 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 */
+#if ENABLE_XXD
+ const char *xxd_eofstring;
long long xxd_displayoff;
+#endif
+ off_t address; /* address/offset in stream */
} dumper_t;
dumper_t* alloc_dumper(void) FAST_FUNC;