diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 13:57:24 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-17 11:03:36 -0800 |
commit | 79d488e49eb4db2797c6ab8818e7e694fa2e754f (patch) | |
tree | 132fbf3b14fa573fb773e11b2b72416c2a7480c0 | |
parent | 68f5afaf18f9aa56fec37ceb358c20508ae7c002 (diff) |
Fix -Wmissing-prototypes & -Wnested-externs warning for TCXHWCursorInit()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/tcx.h | 2 | ||||
-rw-r--r-- | src/tcx_driver.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -66,4 +66,6 @@ typedef struct { #define GET_TCX_FROM_SCRN(p) ((TcxPtr)((p)->driverPrivate)) +extern Bool TCXHWCursorInit(ScreenPtr pScreen); + #endif /* TCX_H */ diff --git a/src/tcx_driver.c b/src/tcx_driver.c index 2e9c862..193a810 100644 --- a/src/tcx_driver.c +++ b/src/tcx_driver.c @@ -583,8 +583,6 @@ TCXScreenInit(SCREEN_INIT_ARGS_DECL) /* Initialize HW cursor layer. Must follow software cursor initialization*/ if (pTcx->HWCursor) { - extern Bool TCXHWCursorInit(ScreenPtr pScreen); - if(!TCXHWCursorInit(pScreen)) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Hardware cursor initialization failed\n"); |