Reverting index() fix, applying a different methodology, based upon developer discussions.

(related to issue #15639)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@210066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-08-03 16:11:29 +00:00
parent f5a5763ee9
commit ca0f026f41
9 changed files with 10 additions and 26 deletions

View File

@@ -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)
{