aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/asterisk/autoconfig.h.in3
-rw-r--r--include/asterisk/compat.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in
index 8f043b7b6..9fddef692 100644
--- a/include/asterisk/autoconfig.h.in
+++ b/include/asterisk/autoconfig.h.in
@@ -181,9 +181,6 @@
or greater. */
#undef HAVE_IMAP_TK2006
-/* Define to 1 if you have the `index' function. */
-#undef HAVE_INDEX
-
/* Define to 1 if you have the `inet_ntoa' function. */
#undef HAVE_INET_NTOA
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index f321665cd..d91ce4a1a 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -50,10 +50,6 @@ size_t strnlen(const char *, size_t);
char* strsep(char** str, const char* delims);
#endif
-#ifndef HAVE_INDEX
-char *index(const char *haystack, int needle);
-#endif
-
#ifndef HAVE_STRTOQ
uint64_t strtoq(const char *nptr, char **endptr, int base);
#endif