From 2def47f0ce83e97b7e22c478562553c0ca1fee30 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 20 Jul 2002 18:52:47 +0000 Subject: [PATCH] Move an extern declaration to stop egcs-2.91.66 from crashing. --- programs/control/control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/control/control.c b/programs/control/control.c index 3e8261c9789..5e15bd897fb 100644 --- a/programs/control/control.c +++ b/programs/control/control.c @@ -23,10 +23,9 @@ #include #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); }