diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 6cae6f4e6..8aa138f3c 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -635,6 +635,8 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo, int *pDRMFD) return TRUE; } +static Bool DRIDestroyWindow(WindowPtr pWin); + Bool DRIFinishScreenInit(ScreenPtr pScreen) { @@ -1921,7 +1923,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 a4ae27f25..6ca55405d 100644 --- a/hw/xfree86/dri/dri.h +++ b/hw/xfree86/dri/dri.h @@ -275,8 +275,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);