diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-01 20:35:03 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-01 20:35:03 -0400 |
commit | 5e25d87b09d1dafc527833d9b4e9a6de99b79aab (patch) | |
tree | 92343fdb56d738b8ad3c5675117acf4161291586 | |
parent | 5d1c8c995647914c8682498f613672b6b935ca15 (diff) | |
download | musl-5e25d87b09d1dafc527833d9b4e9a6de99b79aab.tar.gz musl-5e25d87b09d1dafc527833d9b4e9a6de99b79aab.tar.xz musl-5e25d87b09d1dafc527833d9b4e9a6de99b79aab.zip |
remove macro definition of longjmp from setjmp.h
the C standard specifies that setjmp is a macro, but longjmp is a normal function. a macro version of it would be permitted (albeit useless) for C (not C++), but would have to be a function-like macro, not an object-like one.
-rw-r--r-- | include/setjmp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/setjmp.h b/include/setjmp.h index 0da27de6..2d43abf8 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -33,7 +33,6 @@ int setjmp (jmp_buf); _Noreturn void longjmp (jmp_buf, int); #define setjmp setjmp -#define longjmp longjmp #ifdef __cplusplus } |