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>
|
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.
|
||||||
|
|
|
@ -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),
|
||||||
|
|
|
@ -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),
|
||||||
|
|
|
@ -34,6 +34,7 @@ QUICKREF
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <strings.h>
|
||||||
|
|
||||||
char *
|
char *
|
||||||
_DEFUN (index, (s, c),
|
_DEFUN (index, (s, c),
|
||||||
|
|
|
@ -34,6 +34,7 @@ QUICKREF
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <strings.h>
|
||||||
|
|
||||||
char *
|
char *
|
||||||
_DEFUN (rindex, (s, c),
|
_DEFUN (rindex, (s, c),
|
||||||
|
|
|
@ -38,7 +38,7 @@ QUICKREF
|
||||||
strcasecmp
|
strcasecmp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <strings.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -40,7 +40,7 @@ QUICKREF
|
||||||
strncasecmp
|
strncasecmp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <strings.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue