diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-16 05:38:45 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-16 05:38:45 +0000 |
commit | 9b7a1c1c4b4cbb1257b19caa92ccd9b765b1f01b (patch) | |
tree | 3334ad7de2b2684c6a0ec64660a3a1ee01e865b3 /include/stdlib.h | |
parent | d2d67c9856355f732c83f060e0c69b2e520db65e (diff) |
Add in the "_start" symbol in asm. Fix a makefile (that needs to be
abstracted I suppose for platforms (though I am doing fine w/o libcrt*)
and add function prototype for exit into stdlib.h (it was missing... odd).
Compiles vs uC-libc are less noisy now.
-Erik
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 622d5ce38..691a5a537 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -14,6 +14,9 @@ #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 +extern void exit __P ((int __status)) __attribute__ ((__noreturn__)); +extern int atexit __P ((void (*__func) (void))); + extern void * malloc __P ((size_t)); extern void * calloc __P ((size_t, size_t)); extern void free __P ((void *)); |