projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it
[oweals/busybox.git]
/
coreutils
/
od_bloaty.c
diff --git
a/coreutils/od_bloaty.c
b/coreutils/od_bloaty.c
index f47f84b545afaf0c9d742769cc9ea1f0ec44c459..1e252caf097241b6745a8c466a36a9525df56f8b 100644
(file)
--- a/
coreutils/od_bloaty.c
+++ b/
coreutils/od_bloaty.c
@@
-20,6
+20,7
@@
/* #include "libbb.h" - done in od.c */
/* #include "libbb.h" - done in od.c */
+#include "common_bufsiz.h"
#define assert(a) ((void)0)
#define assert(a) ((void)0)
@@
-214,7
+215,7
@@
struct globals {
#if !ENABLE_LONG_OPTS
enum { G_pseudo_offset = 0 };
#endif
#if !ENABLE_LONG_OPTS
enum { G_pseudo_offset = 0 };
#endif
-#define G (*(struct globals*)
&
bb_common_bufsiz1)
+#define G (*(struct globals*)bb_common_bufsiz1)
#define INIT_G() do { \
BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \
G.bytes_per_block = 32; \
#define INIT_G() do { \
BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \
G.bytes_per_block = 32; \