aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-15 19:39:40 +0000
committerMark Whitley <markw@lineo.com>2001-03-15 19:39:40 +0000
commit730cdb19047d7b344d77e5061703de8ee6f23f31 (patch)
tree3f7517facb9303d44e99d799a7c7b55fe276ec9b
parent0d4e51d390b7118a4f2332834964e49de9469426 (diff)
downloadbusybox-730cdb19047d7b344d77e5061703de8ee6f23f31.tar.gz
Reversed previous patch. The right way is to fix uClibc.
-rw-r--r--lash.c5
-rw-r--r--sh.c5
-rw-r--r--shell/lash.c5
3 files changed, 0 insertions, 15 deletions
diff --git a/lash.c b/lash.c
index bb833ea2f..a3003abea 100644
--- a/lash.c
+++ b/lash.c
@@ -65,11 +65,6 @@
#include <unistd.h>
#include <getopt.h>
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
#undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP
diff --git a/sh.c b/sh.c
index bb833ea2f..a3003abea 100644
--- a/sh.c
+++ b/sh.c
@@ -65,11 +65,6 @@
#include <unistd.h>
#include <getopt.h>
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
#undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP
diff --git a/shell/lash.c b/shell/lash.c
index bb833ea2f..a3003abea 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -65,11 +65,6 @@
#include <unistd.h>
#include <getopt.h>
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
#undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP