diff options
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-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 |
5 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b8a5a6a..59e177a 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +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". + 2011-08-19 Corinna Vinschen <vinschen@redhat.com> * libc/include/process.h: Remove exec family function declarations. 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" |