Fix dlls/ntdll/loader.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Caught by GCC 3.2.3 and my nightly auto-builder.

  loader.c: In function `__wine_process_init':
  loader.c:1927: warning: `noreturn' attribute does not apply to types

Gerald

ChangeLog:
Fix a function pointer variable declaration in __wine_process_init().
Index: loader.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/loader.c,v
retrieving revision 1.49
diff -u -3 -p -r1.49 loader.c
--- loader.c	10 Oct 2003 23:28:51 -0000	1.49
+++ loader.c	11 Oct 2003 09:28:56 -0000
@@ -1924,7 +1924,7 @@ void __wine_process_init( int argc, char
     WINE_MODREF *wm;
     NTSTATUS status;
     ANSI_STRING func_name;
-    void (DECLSPEC_NORETURN *init_func)();
+    void (* DECLSPEC_NORETURN init_func)();

     /* setup the server connection */
     wine_server_init_process();


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux