Move an extern declaration to stop egcs-2.91.66 from crashing.

This commit is contained in:
Francois Gouget 2002-07-20 18:52:47 +00:00 committed by Alexandre Julliard
parent 44b4235af2
commit 2def47f0ce
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}