From: Rich Felker Date: Thu, 2 Apr 2015 00:35:03 +0000 (-0400) Subject: remove macro definition of longjmp from setjmp.h X-Git-Tag: v1.1.9~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e25d87b09d1dafc527833d9b4e9a6de99b79aab;p=oweals%2Fmusl.git 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. --- 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 }