diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-02 21:32:40 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-02 21:32:40 +0400 |
commit | 22ecf049b634ccd507ed0587526599ed1971c308 (patch) | |
tree | 262a81a2bf9e268b5ca8db3bbc7695de495315c9 /coreutils/tr.c | |
parent | 2870d964f8c849d00be20927085f45a30e4e8e53 (diff) |
Per patch from vodz, change a couple of consts to defines, since
apparently gcc 2.95.4, at least, is too stupid to realize that a
"static const int" is in fact a constant.
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 4 |
1 files changed, 3 insertions, 1 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 @@ #include <sys/types.h> #include "busybox.h" -static const int ASCII = 0377; +/* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are + * enabled, we otherwise get a "storage size isn't constant error. */ +#define ASCII 0377 /* some "globals" shared across this file */ static char com_fl, del_fl, sq_fl; |