* libc/include/setjmp.h (longjmp): Mark "noreturn" when building with

GCC.
This commit is contained in:
Corinna Vinschen 2014-01-19 09:38:34 +00:00
parent 3228065cea
commit 5e66ab7852
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-19 Corinna Vinschen <vinschen@redhat.com>
* libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
GCC.
2014-01-17 Corinna Vinschen <vinschen@redhat.com>
* libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.

View File

@ -11,7 +11,11 @@
_BEGIN_STD_C
void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval));
#ifdef __GNUC__
#else
void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval))
__attribute__ ((__noreturn__));
#endif
int _EXFUN(setjmp,(jmp_buf __jmpb));
_END_STD_C