libc: add headers and definitions required by libgcc
This commit is contained in:
@@ -8,6 +8,11 @@ extern void abort(void);
|
||||
extern void exit(int result);
|
||||
extern int atexit(void (*func)(void));
|
||||
|
||||
extern int abs(int v);
|
||||
extern int atoi(const char *str);
|
||||
|
||||
extern char *getenv(const char *name);
|
||||
|
||||
extern void *malloc(size_t count);
|
||||
extern void *calloc(size_t count, size_t size);
|
||||
extern void *realloc(void *p, size_t count);
|
||||
|
||||
Reference in New Issue
Block a user