summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 13:20:16 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 13:20:16 -0800
commitdec0beddbe981af8bf7c0ff6ca05941916962c65 (patch)
treed11e88dcd087710b2e0b3748edc6219e51b4df6c
parent360c88c0d4db4a6fd1092ff119cc4d0ee32ff67e (diff)
Fix -Wimplicit-function-declaration warning
xgi_setup.c:637:5: warning: implicit declaration of function ‘XGI_New_GetVBType’; did you mean ‘XGI_GetRegByte’? [-Wimplicit-function-declaration] XGI_New_GetVBType(pXGI->XGI_Pr, pHwDevInfo); //yilin ^~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/xgi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xgi.h b/src/xgi.h
index 7d4177b..839dbfe 100644
--- a/src/xgi.h
+++ b/src/xgi.h
@@ -988,6 +988,8 @@ Bool Volari_AccelInit(ScreenPtr pScreen) ;
/* void XGI_EnableBridge(PXGI_HW_DEVICE_INFO,USHORT BaseAddr); */
#endif
+extern void XGI_New_GetVBType(VB_DEVICE_INFO *XGI_Pr, PXGI_HW_DEVICE_INFO);
+
extern USHORT XGI_GetModeID(ULONG VBFlags, int HDisplay, int VDisplay,
int Depth, int LCDwith, int LCDheight);