diff options
Diffstat (limited to 'newlib/libc/include/setjmp.h')
-rw-r--r-- | newlib/libc/include/setjmp.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/newlib/libc/include/setjmp.h b/newlib/libc/include/setjmp.h index c958d9042..53d0223fd 100644 --- a/newlib/libc/include/setjmp.h +++ b/newlib/libc/include/setjmp.h @@ -4,17 +4,19 @@ */ #ifndef _SETJMP_H_ +#ifdef __cplusplus +extern "C" { +#endif #define _SETJMP_H_ #include "_ansi.h" #include <machine/setjmp.h> -_BEGIN_STD_C - void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)); int _EXFUN(setjmp,(jmp_buf __jmpb)); -_END_STD_C - +#ifdef __cplusplus +} +#endif #endif /* _SETJMP_H_ */ |