aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/index.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-22 16:49:37 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-22 16:49:37 +0000
commitf3e873f25016c24c4b4d77933183ecae36dcc29a (patch)
tree413ea44a654223003e37c1baf3bd43669c526b32 /newlib/libc/string/index.c
parent8f8977bb8b27c097aeef2c17f6dd3d19736fd8e3 (diff)
downloadnewlib-f3e873f25016c24c4b4d77933183ecae36dcc29a.zip
newlib-f3e873f25016c24c4b4d77933183ecae36dcc29a.tar.gz
newlib-f3e873f25016c24c4b4d77933183ecae36dcc29a.tar.bz2
2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/string/index.c: Include <strings.h> for "index". * libc/string/rindex.c: Include <strings.h> for "rindex". * libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp". Don't include <string.h>. * libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp". Don't include <string.h>. * libc/string/bzero.c: Include <strings.h> for "bzero". Don't include <string.h> * libc/misc/ffs.c: Include <strings.h> for "ffs". Don't include <_ansi.h>.
Diffstat (limited to 'newlib/libc/string/index.c')
-rw-r--r--newlib/libc/string/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c
index 6c165f9..6a70729 100644
--- a/newlib/libc/string/index.c
+++ b/newlib/libc/string/index.c
@@ -34,6 +34,7 @@ QUICKREF
*/
#include <string.h>
+#include <strings.h>
char *
_DEFUN (index, (s, c),