diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-09 13:20:16 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-09 13:20:16 -0800 |
commit | dec0beddbe981af8bf7c0ff6ca05941916962c65 (patch) | |
tree | d11e88dcd087710b2e0b3748edc6219e51b4df6c | |
parent | 360c88c0d4db4a6fd1092ff119cc4d0ee32ff67e (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |