diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 385b30f16..013633716 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -954,7 +954,8 @@ extern const int const_int_1; | |||
954 | #define BUFSIZ 4096 | 954 | #define BUFSIZ 4096 |
955 | #endif | 955 | #endif |
956 | /* Providing hard guarantee on minimum size (think of BUFSIZ == 128) */ | 956 | /* Providing hard guarantee on minimum size (think of BUFSIZ == 128) */ |
957 | extern char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1]; | 957 | enum { COMMON_BUFSIZE = (BUFSIZ >= 256*sizeof(void*) ? BUFSIZ+1 : 256*sizeof(void*)) }; |
958 | extern char bb_common_bufsiz1[COMMON_BUFSIZE]; | ||
958 | /* This struct is deliberately not defined. */ | 959 | /* This struct is deliberately not defined. */ |
959 | /* See docs/keep_data_small.txt */ | 960 | /* See docs/keep_data_small.txt */ |
960 | struct globals; | 961 | struct globals; |