[HEADERS] fix DECLSPEC_NORETURN for compilation with MS C compiler

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Mon Jan 2 00:13:35 CST 2006


Changelog
  - include/wine/pthread.h
  - include/winternl.h
      fix compilation with MS C compiler

Rolf Kalbermatter

Index: include/wine/pthread.h
===================================================================
RCS file: /home/wine/wine/include/wine/pthread.h,v
retrieving revision 1.8
diff -u -r1.8 pthread.h
--- include/wine/pthread.h	13 Sep 2005 11:07:14 -0000	1.8
+++ include/wine/pthread.h	1 Jan 2006 23:14:28 -0000
@@ -103,8 +103,8 @@
     int    (*create_thread)( struct wine_pthread_thread_info *info );
     void   (*init_current_teb)( struct wine_pthread_thread_info *info );
     void * (*get_current_teb)(void);
-    void   (* DECLSPEC_NORETURN exit_thread)( struct wine_pthread_thread_info *info );
-    void   (* DECLSPEC_NORETURN abort_thread)( long status );
+    void   DECLSPEC_NORETURN (* exit_thread)( struct wine_pthread_thread_info *info );
+    void   DECLSPEC_NORETURN (* abort_thread)( long status );
 };
 
 extern void wine_pthread_get_functions( struct wine_pthread_functions *functions, size_t size );

Index: include/winternl.h
===================================================================
RCS file: /home/wine/wine/include/winternl.h,v
retrieving revision 1.169
diff -u -r1.169 winternl.h
--- include/winternl.h	8 Dec 2005 13:07:22 -0000	1.169
+++ include/winternl.h	1 Jan 2006 23:24:55 -0000
@@ -2013,7 +2013,7 @@
 BOOL      WINAPI RtlEqualSid(PSID,PSID);
 BOOLEAN   WINAPI RtlEqualString(const STRING*,const STRING*,BOOLEAN);
 BOOLEAN   WINAPI RtlEqualUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN);
-void      WINAPI RtlExitUserThread(ULONG) DECLSPEC_NORETURN;
+void      DECLSPEC_NORETURN WINAPI RtlExitUserThread(ULONG);
 NTSTATUS  WINAPI RtlExpandEnvironmentStrings_U(PWSTR, const UNICODE_STRING*, UNICODE_STRING*, ULONG*);
 LONGLONG  WINAPI RtlExtendedMagicDivide(LONGLONG,LONGLONG,INT);
 LONGLONG  WINAPI RtlExtendedIntegerMultiply(LONGLONG,INT);




More information about the wine-patches mailing list