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:
Ralf Corsepius 2011-08-22 16:49:37 +00:00
parent 8f8977bb8b
commit f3e873f250
7 changed files with 19 additions and 4 deletions

View File

@ -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> 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro. * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.

View File

@ -24,7 +24,7 @@ PORTABILITY
No supporting OS subroutines are required. */ No supporting OS subroutines are required. */
#include <_ansi.h> #include <strings.h>
int int
_DEFUN(ffs, (word), _DEFUN(ffs, (word),

View File

@ -30,7 +30,7 @@ Neither ANSI C nor the System V Interface Definition (Issue 2) require
<<bzero>> requires no supporting OS subroutines. <<bzero>> requires no supporting OS subroutines.
*/ */
#include <string.h> #include <strings.h>
_VOID _VOID
_DEFUN (bzero, (b, length), _DEFUN (bzero, (b, length),

View File

@ -34,6 +34,7 @@ QUICKREF
*/ */
#include <string.h> #include <string.h>
#include <strings.h>
char * char *
_DEFUN (index, (s, c), _DEFUN (index, (s, c),

View File

@ -34,6 +34,7 @@ QUICKREF
*/ */
#include <string.h> #include <string.h>
#include <strings.h>
char * char *
_DEFUN (rindex, (s, c), _DEFUN (rindex, (s, c),

View File

@ -38,7 +38,7 @@ QUICKREF
strcasecmp strcasecmp
*/ */
#include <string.h> #include <strings.h>
#include <ctype.h> #include <ctype.h>
int int

View File

@ -40,7 +40,7 @@ QUICKREF
strncasecmp strncasecmp
*/ */
#include <string.h> #include <strings.h>
#include <ctype.h> #include <ctype.h>
int int