diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index dfc33f33d..64a483d49 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -634,6 +634,8 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo, int *pDRMFD) return TRUE; } +static Bool DRIDestroyWindow(WindowPtr pWin); + Bool DRIFinishScreenInit(ScreenPtr pScreen) { @@ -1920,7 +1922,7 @@ DRITreeTraversal(WindowPtr pWin, void *data) return WT_WALKCHILDREN; } -Bool +static Bool DRIDestroyWindow(WindowPtr pWin) { ScreenPtr pScreen = pWin->drawable.pScreen; diff --git a/hw/xfree86/dri/dri.h b/hw/xfree86/dri/dri.h index 2ec1c76ea..6e09048f4 100644 --- a/hw/xfree86/dri/dri.h +++ b/hw/xfree86/dri/dri.h @@ -277,8 +277,6 @@ extern _X_EXPORT void *DRIGetContextStore(DRIContextPrivPtr context); extern _X_EXPORT void DRIWindowExposures(WindowPtr pWin, RegionPtr prgn); -extern _X_EXPORT Bool DRIDestroyWindow(WindowPtr pWin); - extern _X_EXPORT void DRICopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc);