aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-30 18:26:46 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-30 18:26:46 +0000
commit3bd2d2b42a3945988e246f55c214163b0b3b7633 (patch)
treecabc5284bf615b5044907559eabea6373c2470fc
parent7ab92a30cf3e373871bed5613fb6bdb5f704cfc9 (diff)
downloadbusybox-w32-3bd2d2b42a3945988e246f55c214163b0b3b7633.tar.gz
busybox-w32-3bd2d2b42a3945988e246f55c214163b0b3b7633.tar.bz2
busybox-w32-3bd2d2b42a3945988e246f55c214163b0b3b7633.zip
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
git-svn-id: svn://busybox.net/trunk/busybox@18283 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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)
83 char *buffer_start = buffer; 83 char *buffer_start = buffer;
84 unsigned i; /* XXX: FIXME: use unsigned char? */ 84 unsigned i; /* XXX: FIXME: use unsigned char? */
85 unsigned char ac; 85 unsigned char ac;
86#if ENABLE_FEATURE_TR_CLASSES
87#define CLO ":]" 86#define CLO ":]"
88 const char * const classes[] = { 87 const char * const classes[] = {
89 "alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO, 88 "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)
102//#define CLASS_xdigit 10 101//#define CLASS_xdigit 10
103//#define CLASS_graph 11 102//#define CLASS_graph 11
104//#define CLASS_print 12 103//#define CLASS_print 12
105#endif
106 while (*arg) { 104 while (*arg) {
107 if (*arg == '\\') { 105 if (*arg == '\\') {
108 arg++; 106 arg++;