diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-19 16:58:20 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-19 16:58:20 +0000 |
commit | af8a9163c31d622b946ffe3b1fa616d983c70721 (patch) | |
tree | b371d47552e4fd17e10e05e365561d8a1c0f02d0 /newlib/libc | |
parent | c0fabb9f3d972525263e8d16eecb047e7f06aea3 (diff) | |
download | newlib-af8a9163c31d622b946ffe3b1fa616d983c70721.zip newlib-af8a9163c31d622b946ffe3b1fa616d983c70721.tar.gz newlib-af8a9163c31d622b946ffe3b1fa616d983c70721.tar.bz2 |
2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/string/bcmp.c: Include <strings.h> for "bcmp".
* libc/string/bcopy.c: Include <strings.h> for "bcopy".
* libc/string/strcasestr.c: Include <strings.h> for "strncasecmp".
* libc/time/strptime.c: Include <strings.h> for "strncasecmp".
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/string/bcmp.c | 1 | ||||
-rw-r--r-- | newlib/libc/string/bcopy.c | 1 | ||||
-rw-r--r-- | newlib/libc/string/strcasestr.c | 1 | ||||
-rw-r--r-- | newlib/libc/time/strptime.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c index e8d0573..2588364 100644 --- a/newlib/libc/string/bcmp.c +++ b/newlib/libc/string/bcmp.c @@ -36,6 +36,7 @@ QUICKREF */ #include <string.h> +#include <strings.h> int _DEFUN (bcmp, (m1, m2, n), diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c index 505e39d..c69c044 100644 --- a/newlib/libc/string/bcopy.c +++ b/newlib/libc/string/bcopy.c @@ -27,6 +27,7 @@ QUICKREF */ #include <string.h> +#include <strings.h> void _DEFUN (bcopy, (b1, b2, length), diff --git a/newlib/libc/string/strcasestr.c b/newlib/libc/string/strcasestr.c index a8276e2..0122d7a 100644 --- a/newlib/libc/string/strcasestr.c +++ b/newlib/libc/string/strcasestr.c @@ -76,6 +76,7 @@ QUICKREF #include <ctype.h> #include <string.h> +#include <strings.h> #if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__) # define RETURN_TYPE char * diff --git a/newlib/libc/time/strptime.c b/newlib/libc/time/strptime.c index 359fe5e..0fc5f4e 100644 --- a/newlib/libc/time/strptime.c +++ b/newlib/libc/time/strptime.c @@ -34,6 +34,7 @@ #include <stdio.h> #include <time.h> #include <string.h> +#include <strings.h> #include <ctype.h> #include <stdlib.h> #include "../locale/timelocal.h" |