From 9b7a1c1c4b4cbb1257b19caa92ccd9b765b1f01b Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Tue, 16 May 2000 05:38:45 +0000 Subject: 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 --- include/stdlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/stdlib.h') 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 *)); -- cgit v1.2.3