Move an extern declaration to stop egcs-2.91.66 from crashing.
This commit is contained in:
parent
44b4235af2
commit
2def47f0ce
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue