aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-19 16:58:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-19 16:58:20 +0000
commitaf8a9163c31d622b946ffe3b1fa616d983c70721 (patch)
treeb371d47552e4fd17e10e05e365561d8a1c0f02d0 /newlib
parentc0fabb9f3d972525263e8d16eecb047e7f06aea3 (diff)
downloadnewlib-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')
-rw-r--r--newlib/ChangeLog7
-rw-r--r--newlib/libc/string/bcmp.c1
-rw-r--r--newlib/libc/string/bcopy.c1
-rw-r--r--newlib/libc/string/strcasestr.c1
-rw-r--r--newlib/libc/time/strptime.c1
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"