mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 13:50:33 +01:00
xfree86: dri: unexport DRIDestroyWindow() and make it static
This function is only called inside dri.c, not used by any drivers (and wouldn't make sense to do so), so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1713>
This commit is contained in:
parent
9323ba6fed
commit
73cf8d3560
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue