diff options
-rw-r--r-- | coreutils/tr.c | 4 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 4 | ||||
-rw-r--r-- | syslogd.c | 4 | ||||
-rw-r--r-- | tr.c | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 07922af17..a5d068262 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -31,7 +31,9 @@ | |||
31 | #include <sys/types.h> | 31 | #include <sys/types.h> |
32 | #include "busybox.h" | 32 | #include "busybox.h" |
33 | 33 | ||
34 | static const int ASCII = 0377; | 34 | /* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are |
35 | * enabled, we otherwise get a "storage size isn't constant error. */ | ||
36 | #define ASCII 0377 | ||
35 | 37 | ||
36 | /* some "globals" shared across this file */ | 38 | /* some "globals" shared across this file */ |
37 | static char com_fl, del_fl, sq_fl; | 39 | static char com_fl, del_fl, sq_fl; |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8d8bd1afe..89f5348ec 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -387,7 +387,9 @@ static void domark(int sig) | |||
387 | } | 387 | } |
388 | } | 388 | } |
389 | 389 | ||
390 | static const int BUFSIZE = 1023; | 390 | /* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are |
391 | * enabled, we otherwise get a "storage size isn't constant error. */ | ||
392 | #define BUFSIZE 1023 | ||
391 | static int serveConnection (int conn) | 393 | static int serveConnection (int conn) |
392 | { | 394 | { |
393 | RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); | 395 | RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); |
@@ -387,7 +387,9 @@ static void domark(int sig) | |||
387 | } | 387 | } |
388 | } | 388 | } |
389 | 389 | ||
390 | static const int BUFSIZE = 1023; | 390 | /* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are |
391 | * enabled, we otherwise get a "storage size isn't constant error. */ | ||
392 | #define BUFSIZE 1023 | ||
391 | static int serveConnection (int conn) | 393 | static int serveConnection (int conn) |
392 | { | 394 | { |
393 | RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); | 395 | RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); |
@@ -31,7 +31,9 @@ | |||
31 | #include <sys/types.h> | 31 | #include <sys/types.h> |
32 | #include "busybox.h" | 32 | #include "busybox.h" |
33 | 33 | ||
34 | static const int ASCII = 0377; | 34 | /* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are |
35 | * enabled, we otherwise get a "storage size isn't constant error. */ | ||
36 | #define ASCII 0377 | ||
35 | 37 | ||
36 | /* some "globals" shared across this file */ | 38 | /* some "globals" shared across this file */ |
37 | static char com_fl, del_fl, sq_fl; | 39 | static char com_fl, del_fl, sq_fl; |