diff options
Diffstat (limited to 'libc/include/setjmp.h')
-rw-r--r-- | libc/include/setjmp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/include/setjmp.h b/libc/include/setjmp.h index c2bfadb..162743b 100644 --- a/libc/include/setjmp.h +++ b/libc/include/setjmp.h @@ -17,10 +17,14 @@ typedef struct unsigned int di; } jmp_buf[1]; -int setjmp __P((jmp_buf env)); -void longjmp __P((jmp_buf env, int rv)); +int _setjmp __P((jmp_buf env)); +void _longjmp __P((jmp_buf env, int rv)); /* LATER: Seems GNU beat me to it, must be OK then :-) * Humm, what's this about setjmp being a macro !? + * Ok, use the BSD names as normal use the ANSI as macros */ + +#define setjmp(a_env) _setjmp(a_env) +#define longjmp(a_env, a_rv) _longjmp(a_env, a_rv) #endif |