Author: tkreuzer
Date: Mon Jan 31 19:46:05 2011
New Revision: 50577
URL:
http://svn.reactos.org/svn/reactos?rev=50577&view=rev
Log:
[CRT]
Put __declspec(nothrow) at a valid (for MSVC) position.
Modified:
branches/cmake-bringup/include/crt/setjmp.h
Modified: branches/cmake-bringup/include/crt/setjmp.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/crt/setjm…
==============================================================================
--- branches/cmake-bringup/include/crt/setjmp.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/crt/setjmp.h [iso-8859-1] Mon Jan 31 19:46:05 2011
@@ -155,18 +155,18 @@
({ void* value; __asm__ __volatile__("movl %%esp, %[value]" : [value]
"=r" (value)); value; })
#endif
#define setjmp(BUF) _setjmp((BUF),mingw_getsp())
- int __cdecl __MINGW_NOTHROW _setjmp(jmp_buf _Buf,void *_Ctx);
+ int __MINGW_NOTHROW __cdecl _setjmp(jmp_buf _Buf,void *_Ctx);
#else /* _INC_SETJMPEX */
#undef setjmp
#define setjmp(BUF) _setjmpex((BUF),mingw_getsp())
#define setjmpex(BUF) _setjmpex((BUF),mingw_getsp())
- int __cdecl __MINGW_NOTHROW _setjmpex(jmp_buf _Buf,void *_Ctx);
+ int __MINGW_NOTHROW __cdecl _setjmpex(jmp_buf _Buf,void *_Ctx);
#endif /* _INC_SETJMPEX */
#else /* !USE_MINGW_SETJMP_TWO_ARGS */
#ifndef _INC_SETJMPEX
#define setjmp _setjmp
#endif
- int __cdecl __MINGW_NOTHROW setjmp(jmp_buf _Buf);
+ int __MINGW_NOTHROW __cdecl setjmp(jmp_buf _Buf);
#endif /* !USE_MINGW_SETJMP_TWO_ARGS */
__declspec(noreturn) __MINGW_NOTHROW void __cdecl ms_longjmp(jmp_buf _Buf,int _Value)/*
throw(...)*/;