From 593510549f566e967b1ffbebcc8057cd4a838ce1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Feb 2005 15:37:56 +0000 Subject: [PATCH] simulator prototype for exit() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6006 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h index 894bf563fa..44aba49a55 100644 --- a/firmware/include/stdlib.h +++ b/firmware/include/stdlib.h @@ -37,6 +37,10 @@ int rand(void); #define abs(x) ((x)>0?(x):-(x)) +#ifdef SIMULATOR +void exit(int status); +#endif + #ifdef __cplusplus } #endif