mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 16:10:09 +01:00
hw/xwin: Fix implicit-function-declaration warning in XwinExtensionInit() when compiled with XWIN_GLX_WINDOWS defined
InitOutput.c: In function ‘XwinExtensionInit’:
InitOutput.c:170:9: error: implicit declaration of function ‘glxWinPushNativeProvider’ [-Werror=implicit-function-declaration]
glxWinPushNativeProvider();
^
InitOutput.c:170:9: warning: nested extern declaration of ‘glxWinPushNativeProvider’ [-Wnested-externs]
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
caf1dec2a7
commit
dec5e9899b
1 changed files with 4 additions and 1 deletions
|
|
@ -58,8 +58,11 @@ typedef WINAPI HRESULT(*SHGETFOLDERPATHPROC) (HWND hwndOwner,
|
|||
HANDLE hToken,
|
||||
DWORD dwFlags, LPTSTR pszPath);
|
||||
#endif
|
||||
|
||||
#include "glx_extinit.h"
|
||||
#ifdef XWIN_GLX_WINDOWS
|
||||
#include "glx/glwindows.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* References to external symbols
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue