aboutsummaryrefslogtreecommitdiffstats
path: root/main/strcompat.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-03 16:11:29 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-03 16:11:29 +0000
commit728babbe04baf27f4cc76f59c6414f8ab1798405 (patch)
treee6b6fa8fe67dec552e7e9161166da310d16188c3 /main/strcompat.c
parent2ffaec5b53773e415cbab6e20c45c75113f07406 (diff)
Reverting index() fix, applying a different methodology, based upon developer discussions.
(related to issue #15639) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@210066 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/strcompat.c')
-rw-r--r--main/strcompat.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/main/strcompat.c b/main/strcompat.c
index 52347db17..243ef76cb 100644
--- a/main/strcompat.c
+++ b/main/strcompat.c
@@ -84,13 +84,6 @@ int unsetenv(const char *name)
}
#endif
-#ifndef HAVE_INDEX
-char *index(const char *haystack, int needle)
-{
- return strchr(haystack, needle);
-}
-#endif
-
#ifndef HAVE_STRCASESTR
static char *upper(const char *orig, char *buf, int bufsize)
{