mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
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…
x
Reference in New Issue
Block a user