diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-03 16:11:29 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-03 16:11:29 +0000 |
commit | 728babbe04baf27f4cc76f59c6414f8ab1798405 (patch) | |
tree | e6b6fa8fe67dec552e7e9161166da310d16188c3 /main | |
parent | 2ffaec5b53773e415cbab6e20c45c75113f07406 (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')
-rw-r--r-- | main/asterisk.exports | 1 | ||||
-rw-r--r-- | main/strcompat.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/main/asterisk.exports b/main/asterisk.exports index fa9b33192..b50350606 100644 --- a/main/asterisk.exports +++ b/main/asterisk.exports @@ -40,7 +40,6 @@ getloadavg; strlcat; strlcpy; - index; local: *; }; 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) { |