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-23 16:01:51 +0400
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-23 16:01:51 +0400
commitda344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f (patch)
treeb32f337d58ad38b5d1c90d975ae50202a2ed0077
parent0792b19670ce1024020c30422770e27599f8c676 (diff)
2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c, libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c, libc/string/strcasecmp.c, libc/string/strncasecmp.c: Let synopsis reference "#include <strings.h>".
-rw-r--r--newlib/ChangeLog7
-rw-r--r--newlib/libc/misc/ffs.c2
-rw-r--r--newlib/libc/string/bcmp.c4
-rw-r--r--newlib/libc/string/bcopy.c2
-rw-r--r--newlib/libc/string/bzero.c4
-rw-r--r--newlib/libc/string/index.c4
-rw-r--r--newlib/libc/string/rindex.c2
-rw-r--r--newlib/libc/string/strcasecmp.c4
-rw-r--r--newlib/libc/string/strncasecmp.c4
9 files changed, 21 insertions, 12 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 97c1b040c..3991a837f 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,12 @@
2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c,
+ libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c,
+ libc/string/strcasecmp.c, libc/string/strncasecmp.c:
+ Let synopsis reference "#include <strings.h>".
+
+2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG.
* libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE.
* libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and
diff --git a/newlib/libc/misc/ffs.c b/newlib/libc/misc/ffs.c
index e907bc911..7fc38c8d8 100644
--- a/newlib/libc/misc/ffs.c
+++ b/newlib/libc/misc/ffs.c
@@ -6,9 +6,11 @@ INDEX
ffs
ANSI_SYNOPSIS
+ #include <strings.h>
int ffs(int <[word]>);
TRAD_SYNOPSIS
+ #include <strings.h>
int ffs(<[word]>);
DESCRIPTION
diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c
index 2588364bb..8d6e12ffb 100644
--- a/newlib/libc/string/bcmp.c
+++ b/newlib/libc/string/bcmp.c
@@ -6,11 +6,11 @@ INDEX
bcmp
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int bcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int bcmp(<[s1]>, <[s2]>, <[n]>)
const void *<[s1]>;
const void *<[s2]>;
diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c
index c69c04425..2881fd92c 100644
--- a/newlib/libc/string/bcopy.c
+++ b/newlib/libc/string/bcopy.c
@@ -3,7 +3,7 @@ FUNCTION
<<bcopy>>---copy memory regions
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>);
TRAD_SYNOPSIS
diff --git a/newlib/libc/string/bzero.c b/newlib/libc/string/bzero.c
index 4db357438..dbcae02d6 100644
--- a/newlib/libc/string/bzero.c
+++ b/newlib/libc/string/bzero.c
@@ -6,11 +6,11 @@ INDEX
bzero
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
void bzero(void *<[b]>, size_t <[length]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
void bzero(<[b]>, <[length]>)
void *<[b]>;
size_t <[length]>;
diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c
index 6a707292d..ec241ffa8 100644
--- a/newlib/libc/string/index.c
+++ b/newlib/libc/string/index.c
@@ -6,11 +6,11 @@ INDEX
index
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
char * index(const char *<[string]>, int <[c]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
char * index(<[string]>, <[c]>);
char *<[string]>;
int *<[c]>;
diff --git a/newlib/libc/string/rindex.c b/newlib/libc/string/rindex.c
index 1284bccbe..daa1c5237 100644
--- a/newlib/libc/string/rindex.c
+++ b/newlib/libc/string/rindex.c
@@ -10,7 +10,7 @@ ANSI_SYNOPSIS
char * rindex(const char *<[string]>, int <[c]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
char * rindex(<[string]>, <[c]>);
char *<[string]>;
int *<[c]>;
diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c
index 6f4fd3569..ebf23cd51 100644
--- a/newlib/libc/string/strcasecmp.c
+++ b/newlib/libc/string/strcasecmp.c
@@ -6,11 +6,11 @@ INDEX
strcasecmp
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int strcasecmp(const char *<[a]>, const char *<[b]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int strcasecmp(<[a]>, <[b]>)
char *<[a]>;
char *<[b]>;
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index 922c76a5f..27778e0f0 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -6,11 +6,11 @@ INDEX
strncasecmp
ANSI_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int strncasecmp(const char *<[a]>, const char * <[b]>, size_t <[length]>);
TRAD_SYNOPSIS
- #include <string.h>
+ #include <strings.h>
int strncasecmp(<[a]>, <[b]>, <[length]>)
char *<[a]>;
char *<[b]>;