From 240a1cfbbe6cf42e8013ce06cb567b3f28c8727f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 8 Apr 2007 16:07:02 +0000 Subject: add some missed statics on constant objects. fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped --- coreutils/tr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/tr.c') diff --git a/coreutils/tr.c b/coreutils/tr.c index f72d23c03..5d3dd4cd8 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c @@ -84,7 +84,7 @@ static unsigned int expand(const char *arg, char *buffer) unsigned i; /* XXX: FIXME: use unsigned char? */ unsigned char ac; #define CLO ":]" - const char * const classes[] = { + static const char * const classes[] = { "alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO, "blank"CLO, "punct"CLO, "cntrl"CLO, NULL }; -- cgit v1.2.3