about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-01 20:35:03 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-01 20:35:03 -0400
commit5e25d87b09d1dafc527833d9b4e9a6de99b79aab (patch)
tree92343fdb56d738b8ad3c5675117acf4161291586
parent5d1c8c995647914c8682498f613672b6b935ca15 (diff)
downloadmusl-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.h1
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
 }