From da344d0ea92b1e566f53b1bb31eb4ac8bd7b6c5f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 23 Aug 2011 12:01:51 +0000 Subject: =?UTF-8?q?2011-08-23=20=20Ralf=20Cors=C3=A9pius=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 ". --- newlib/ChangeLog | 7 +++++++ newlib/libc/misc/ffs.c | 2 ++ newlib/libc/string/bcmp.c | 4 ++-- newlib/libc/string/bcopy.c | 2 +- newlib/libc/string/bzero.c | 4 ++-- newlib/libc/string/index.c | 4 ++-- newlib/libc/string/rindex.c | 2 +- newlib/libc/string/strcasecmp.c | 4 ++-- newlib/libc/string/strncasecmp.c | 4 ++-- 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 + * 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 ". + +2011-08-23 Ralf Corsépius + * libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG. * libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE. * libc/string/wcwidth.c: Include 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 int ffs(int <[word]>); TRAD_SYNOPSIS + #include 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 + #include int bcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>); TRAD_SYNOPSIS - #include + #include 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 <>---copy memory regions ANSI_SYNOPSIS - #include + #include 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 + #include void bzero(void *<[b]>, size_t <[length]>); TRAD_SYNOPSIS - #include + #include 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 + #include char * index(const char *<[string]>, int <[c]>); TRAD_SYNOPSIS - #include + #include 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 + #include 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 + #include int strcasecmp(const char *<[a]>, const char *<[b]>); TRAD_SYNOPSIS - #include + #include 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 + #include int strncasecmp(const char *<[a]>, const char * <[b]>, size_t <[length]>); TRAD_SYNOPSIS - #include + #include int strncasecmp(<[a]>, <[b]>, <[length]>) char *<[a]>; char *<[b]>; -- cgit v1.1