diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ac2eb488a..4318bff8a 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2014-01-20 Corinna Vinschen + + * libc/include/setjmp.h (longjmp): Fix copy/paste error. + 2014-01-19 Corinna Vinschen * libc/include/setjmp.h (longjmp): Mark "noreturn" when building with diff --git a/newlib/libc/include/setjmp.h b/newlib/libc/include/setjmp.h index 39843124e..521eac5a1 100644 --- a/newlib/libc/include/setjmp.h +++ b/newlib/libc/include/setjmp.h @@ -12,9 +12,10 @@ _BEGIN_STD_C #ifdef __GNUC__ -#else void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)) __attribute__ ((__noreturn__)); +#else +void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)); #endif int _EXFUN(setjmp,(jmp_buf __jmpb));