summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/setjmp.h')
-rw-r--r--winsup/mingw/include/setjmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/mingw/include/setjmp.h b/winsup/mingw/include/setjmp.h
index 38bb62a0e..96eb5bd65 100644
--- a/winsup/mingw/include/setjmp.h
+++ b/winsup/mingw/include/setjmp.h
@@ -36,7 +36,7 @@ typedef _JBTYPE jmp_buf[_JBLEN];
* The function provided by CRTDLL which appears to do the actual work
* of setjmp.
*/
-_CRTIMP int __cdecl _setjmp (jmp_buf);
+_CRTIMP int __cdecl __MINGW_NOTHROW _setjmp (jmp_buf);
#define setjmp(x) _setjmp(x)
@@ -44,7 +44,7 @@ _CRTIMP int __cdecl _setjmp (jmp_buf);
* Return to the last setjmp call and act as if setjmp had returned
* nVal (which had better be non-zero!).
*/
-_CRTIMP void __cdecl longjmp (jmp_buf, int) __MINGW_ATTRIB_NORETURN;
+_CRTIMP void __cdecl __MINGW_NOTHROW longjmp (jmp_buf, int) __MINGW_ATTRIB_NORETURN;
#ifdef __cplusplus
}