include/stdlib.h: merged
Change-Id: I26b032566d1d7a816df56254c5f9e6dc82626a70
This commit is contained in:
parent
9335f8073e
commit
42d7eda0cc
3 changed files with 5 additions and 6 deletions
|
@ -246,9 +246,6 @@ int posix_memalign(void **, size_t, size_t);
|
||||||
void *alloca(int); /* built-in for gcc */
|
void *alloca(int); /* built-in for gcc */
|
||||||
#elif defined(__PCC__) && !defined(__GNUC__)
|
#elif defined(__PCC__) && !defined(__GNUC__)
|
||||||
#define alloca(size) __builtin_alloca(size)
|
#define alloca(size) __builtin_alloca(size)
|
||||||
#elif (__GNUC__ >= 2)
|
|
||||||
/* LSC: MINIX Patch needed (2 following lines) */
|
|
||||||
#define alloca(size) __builtin_alloca(size)
|
|
||||||
#else
|
#else
|
||||||
void *alloca(size_t);
|
void *alloca(size_t);
|
||||||
#endif /* __GNUC__ */
|
#endif /* __GNUC__ */
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
SRCS+= byte_swap_2.S byte_swap_4.S ffs.S
|
SRCS+= alloca.S byte_swap_2.S byte_swap_4.S divsi3.S
|
||||||
|
|
||||||
SRCS+= memchr.c memcmp.c memcpy.c memmove.c memset.c \
|
SRCS+= memchr.c memcmp.c memcpy.c memmove.c memset.c \
|
||||||
strcat.c strchr.c strcmp.c strcpy.c strlen.c \
|
strcat.c strchr.c strcmp.c strcpy.c strlen.c \
|
||||||
strncmp.c strrchr.c
|
strncmp.c strrchr.c
|
||||||
|
|
||||||
|
SRC+= ffs.S
|
||||||
SRCS+= bcmp.c
|
SRCS+= bcmp.c
|
||||||
SRCS+= divsi3.S
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SRCS+= byte_swap_2.S byte_swap_4.S ffs.S _setjmp.S
|
SRCS+= alloca.S byte_swap_2.S byte_swap_4.S ffs.S _setjmp.S
|
||||||
SRCS+= memchr.S memcmp.S memcpy.S memmove.S memset.S \
|
SRCS+= memchr.S memcmp.S memcpy.S memmove.S memset.S \
|
||||||
strcat.S strchr.S strcmp.S strcpy.S strlen.S \
|
strcat.S strchr.S strcmp.S strcpy.S strlen.S \
|
||||||
strncmp.S strrchr.S
|
strncmp.S strrchr.S
|
||||||
|
|
Loading…
Reference in a new issue