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 97c1b040c..3991a837f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +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. 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 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 2588364bb..8d6e12ffb 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 c69c04425..2881fd92c 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 4db357438..dbcae02d6 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 6a707292d..ec241ffa8 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 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 + #include 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 + #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 922c76a5f..27778e0f0 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.2.3