libc: add headers and definitions required by libgcc

This commit is contained in:
2026-07-19 13:30:19 +01:00
parent 8aa76b5b7f
commit 34b3b8359b
7 changed files with 71 additions and 2 deletions
+5
View File
@@ -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);