diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-09-06 22:57:07 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-09-06 22:57:07 +0200 |
commit | b2652e6b29c3d29766e1133c81612113084ee44a (patch) | |
tree | 2959925adf010c60896b0a3af1d6d78d0123bd78 /klibc/include/stdlib.h | |
parent | 3ce0d7b202ecb6896fe2ee5dd7b0c090ca675760 (diff) |
klibc: update to version 1.1.1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'klibc/include/stdlib.h')
-rw-r--r-- | klibc/include/stdlib.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/klibc/include/stdlib.h b/klibc/include/stdlib.h index 54d45043f7..17efc30e5a 100644 --- a/klibc/include/stdlib.h +++ b/klibc/include/stdlib.h @@ -9,6 +9,8 @@ #include <klibc/compiler.h> #include <stddef.h> +#include <malloc.h> + #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 @@ -28,7 +30,6 @@ __extern int atoi(const char *); __extern long atol(const char *); __extern long long atoll(const char *); __extern __noreturn exit(int); -__extern void free(void *); static __inline__ long labs(long __n) { return (__n < 0L) ? -__n : __n; } @@ -37,9 +38,6 @@ static __inline__ long long llabs(long long __n) { return (__n < 0LL) ? -__n : __n; } -__extern __mallocfunc void *malloc(size_t); -__extern __mallocfunc void *calloc(size_t, size_t); -__extern __mallocfunc void *realloc(void *, size_t); __extern long strtol(const char *, char **, int); __extern long long strtoll(const char *, char **, int); __extern unsigned long strtoul(const char *, char **, int); |