mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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>.
This commit is contained in:
parent
8f8977bb8b
commit
f3e873f250
@ -1,3 +1,16 @@
|
||||
2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* 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>.
|
||||
|
||||
2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.
|
||||
|
@ -24,7 +24,7 @@ PORTABILITY
|
||||
|
||||
No supporting OS subroutines are required. */
|
||||
|
||||
#include <_ansi.h>
|
||||
#include <strings.h>
|
||||
|
||||
int
|
||||
_DEFUN(ffs, (word),
|
||||
|
@ -30,7 +30,7 @@ Neither ANSI C nor the System V Interface Definition (Issue 2) require
|
||||
<<bzero>> requires no supporting OS subroutines.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
_VOID
|
||||
_DEFUN (bzero, (b, length),
|
||||
|
@ -34,6 +34,7 @@ QUICKREF
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
char *
|
||||
_DEFUN (index, (s, c),
|
||||
|
@ -34,6 +34,7 @@ QUICKREF
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
char *
|
||||
_DEFUN (rindex, (s, c),
|
||||
|
@ -38,7 +38,7 @@ QUICKREF
|
||||
strcasecmp
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
|
||||
int
|
||||
|
@ -40,7 +40,7 @@ QUICKREF
|
||||
strncasecmp
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user