Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-19 20:58:20 +0400
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-19 20:58:20 +0400
commitaf8a9163c31d622b946ffe3b1fa616d983c70721 (patch)
treeb371d47552e4fd17e10e05e365561d8a1c0f02d0
parentc0fabb9f3d972525263e8d16eecb047e7f06aea3 (diff)
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".
-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 b8a5a6a94..59e177a6d 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 e8d057352..2588364bb 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 505e39dc7..c69c04425 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 a8276e2b5..0122d7ab8 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 359fe5e9d..0fc5f4e13 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"