From 2c436679fbb5fa38b0e7a505022a2075fab87d84 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 18 Jun 2021 00:59:17 +0200 Subject: xxd: implement -i "C style output" function old new delta xxd_main 710 888 +178 .rodata 103252 103331 +79 print_C_style - 78 +78 packed_usage 33639 33652 +13 next 276 278 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 350/0) Total: 350 bytes Signed-off-by: Denys Vlasenko --- include/dump.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dump.h b/include/dump.h index 54f5629a7..10fc5d900 100644 --- a/include/dump.h +++ b/include/dump.h @@ -34,6 +34,7 @@ typedef struct dumper_t { smallint dump_vflag; /*enum dump_vflag_t*/ FS *fshead; const char *xxd_eofstring; + off_t address; /* address/offset in stream */ long long xxd_displayoff; } dumper_t; -- cgit v1.2.3