diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-05-27 14:51:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-05-27 14:52:17 +0200 |
commit | 9225f9684fedd5c997fc729fee29f8ac402b8db9 (patch) | |
tree | e3a39b09ee58143d0a86660f11760797d5b52c61 /include/dump.h | |
parent | 6d9427420bab4ef756444fc8800dbf56d7dacf7d (diff) | |
download | busybox-w32-9225f9684fedd5c997fc729fee29f8ac402b8db9.tar.gz busybox-w32-9225f9684fedd5c997fc729fee29f8ac402b8db9.tar.bz2 busybox-w32-9225f9684fedd5c997fc729fee29f8ac402b8db9.zip |
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/dump.h')
-rw-r--r-- | include/dump.h | 8 |
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 { | |||
33 | int dump_length; /* max bytes to read */ | 33 | int dump_length; /* max bytes to read */ |
34 | smallint dump_vflag; /*enum dump_vflag_t*/ | 34 | smallint dump_vflag; /*enum dump_vflag_t*/ |
35 | FS *fshead; | 35 | FS *fshead; |
36 | #if ENABLE_XXD | ||
37 | const char *xxd_eofstring; | ||
38 | #endif | ||
39 | #if ENABLE_OD | 36 | #if ENABLE_OD |
40 | const char *od_eofstring; | 37 | const char *od_eofstring; |
41 | #endif | 38 | #endif |
42 | off_t address; /* address/offset in stream */ | 39 | #if ENABLE_XXD |
40 | const char *xxd_eofstring; | ||
43 | long long xxd_displayoff; | 41 | long long xxd_displayoff; |
42 | #endif | ||
43 | off_t address; /* address/offset in stream */ | ||
44 | } dumper_t; | 44 | } dumper_t; |
45 | 45 | ||
46 | dumper_t* alloc_dumper(void) FAST_FUNC; | 46 | dumper_t* alloc_dumper(void) FAST_FUNC; |