aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-30 18:26:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-30 18:26:46 +0000
commit7b881c716892bfe2fc0edecf2887e0540b25835f (patch)
treecabc5284bf615b5044907559eabea6373c2470fc
parentcc890264d9a0d3c2898c20d5d45cd43959339da4 (diff)
downloadbusybox-7b881c716892bfe2fc0edecf2887e0540b25835f.tar.gz
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
-rw-r--r--coreutils/tr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index f423ab0cf..f72d23c03 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -83,7 +83,6 @@ static unsigned int expand(const char *arg, char *buffer)
char *buffer_start = buffer;
unsigned i; /* XXX: FIXME: use unsigned char? */
unsigned char ac;
-#if ENABLE_FEATURE_TR_CLASSES
#define CLO ":]"
const char * const classes[] = {
"alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO,
@@ -102,7 +101,6 @@ static unsigned int expand(const char *arg, char *buffer)
//#define CLASS_xdigit 10
//#define CLASS_graph 11
//#define CLASS_print 12
-#endif
while (*arg) {
if (*arg == '\\') {
arg++;