Cygwin/X: Place prototype for winSelectIcons() in a header file

Fixes warning as prototype is now in scope for the definition

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2009-01-19 17:42:54 +00:00
parent ab2c98b86f
commit 5ff289834d
3 changed files with 2 additions and 5 deletions

View File

@ -1218,6 +1218,8 @@ winSetShapeRootless (WindowPtr pWindow);
HICON
winXIconToHICON (WindowPtr pWin, int iconSize);
void
winSelectIcons(WindowPtr pWin, HICON *pIcon, HICON *pSmallIcon);
#ifdef XWIN_MULTIWINDOW
/*

View File

@ -46,8 +46,6 @@
extern HWND g_hDlgDepthChange;
extern void winSelectIcons(WindowPtr pWin, HICON *pIcon, HICON *pSmallIcon);
/*
* Prototypes for local functions
*/

View File

@ -74,9 +74,6 @@ winMWExtWMSetNativeProperty (RootlessWindowPtr pFrame);
Bool g_fNoConfigureWindow = FALSE;
extern void winSelectIcons(WindowPtr pWin, HICON *pIcon, HICON *pSmallIcon);
/*
* Internal function to get the DIB format that is compatible with the screen
* Fixme: Share code with winshadgdi.c