Changelog: Francois Gouget <fgouget@codeweavers.com> * programs/control/control.c Move an extern declaration to stop egcs-2.91.66 from crashing -- Francois Gouget fgouget@codeweavers.com
Index: programs/control/control.c =================================================================== RCS file: /home/wine/wine/programs/control/control.c,v retrieving revision 1.6 diff -u -r1.6 control.c --- programs/control/control.c 31 May 2002 23:40:58 -0000 1.6 +++ programs/control/control.c 19 Jul 2002 06:31:05 -0000 @@ -23,10 +23,9 @@ #include <shellapi.h> #include "params.h" +extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow); void launch(const char *what) { - extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow); - Control_RunDLL(GetDesktopWindow(), 0, what, SW_SHOW); exit(0); }