[patch] string.h/strings.h

Corinna Vinschen vinschen@redhat.com
Mon Aug 22 16:18:00 GMT 2011


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



More information about the Newlib mailing list