summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/setjmp.h')
-rw-r--r--newlib/libc/include/setjmp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/setjmp.h b/newlib/libc/include/setjmp.h
index 53d0223fd..c958d9042 100644
--- a/newlib/libc/include/setjmp.h
+++ b/newlib/libc/include/setjmp.h
@@ -4,19 +4,17 @@
*/
#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));
-#ifdef __cplusplus
-}
-#endif
+_END_STD_C
+
#endif /* _SETJMP_H_ */