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-27 15:51:46 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-27 15:52:17 +0300
commit9225f9684fedd5c997fc729fee29f8ac402b8db9 (patch)
treee3a39b09ee58143d0a86660f11760797d5b52c61 /include
parent6d9427420bab4ef756444fc8800dbf56d7dacf7d (diff)
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 8fb92f07b..c6763a64d 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;