This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [patch] string.h/strings.h
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Mon, 22 Aug 2011 18:06:51 +0200
- Subject: Re: [patch] string.h/strings.h
- References: <4E4F3272.1030808@rtems.org>
- Reply-to: newlib at sourceware dot org
On Aug 20 06:05, Ralf Corsepius wrote:
> Hi again,
>
> this is the next bunch of string.h/strings.h patches.
>
> It adds #include <strings.h> to assure these files receive the
> prototypes/declarations of "string/strings family" functions, POSIX
> has moved.
>
> Ralf
> 2011-08-20 Ralf Cors??pius <...>
>
> * libc/string/index.c: Include <strings.h> for "index".
> * libc/string/rindex.c: Include <strings.h> for "rindex".
> * libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp".
> Don't include <string.h>.
> * libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp".
> Don't include <string.h>.
> * libc/string/bzero.c: Include <strings.h> for "bzero".
> Don't include <string.h>
> * libc/misc/ffs.c: Include <strings.h> for "ffs".
> Don't include <_ansi.h>.
Looks good, please apply.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat