aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-23 12:01:51 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-23 12:01:51 +0000
commitda344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f (patch)
treeb32f337d58ad38b5d1c90d975ae50202a2ed0077
parent0792b19670ce1024020c30422770e27599f8c676 (diff)
downloadnewlib-da344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f.zip
newlib-da344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f.tar.gz
newlib-da344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f.tar.bz2
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 97c1b04..3991a83 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 e907bc9..7fc38c8 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 2588364..8d6e12f 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 c69c044..2881fd9 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 4db3574..dbcae02 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 6a70729..ec241ff 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 1284bcc..daa1c52 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 6f4fd35..ebf23cd 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 922c76a..27778e0 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]>;