diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 833ef0b31..7c1d1390e 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -63,7 +63,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "swaprep.h" #include "xf86str.h" -#include "dri.h" +#include "dri_priv.h" #include "sarea.h" #include "dristruct.h" #include "mi.h" diff --git a/hw/xfree86/dri/dri.h b/hw/xfree86/dri/dri.h index 2ec1c76ea..a4ae27f25 100644 --- a/hw/xfree86/dri/dri.h +++ b/hw/xfree86/dri/dri.h @@ -195,8 +195,6 @@ extern _X_EXPORT Bool DRIScreenInit(ScreenPtr pScreen, extern _X_EXPORT void DRICloseScreen(ScreenPtr pScreen); -extern Bool DRIExtensionInit(void); - extern _X_EXPORT void DRIReset(void); extern _X_EXPORT Bool DRIQueryDirectRenderingCapable(ScreenPtr pScreen, diff --git a/hw/xfree86/dri/dri_priv.h b/hw/xfree86/dri/dri_priv.h new file mode 100644 index 000000000..e0864c87a --- /dev/null +++ b/hw/xfree86/dri/dri_priv.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: MIT OR X11 + * + * Copyright © 2024 Enrico Weigelt, metux IT consult + */ +#ifndef _XSERVER_DRI_PRIV_H +#define _XSERVER_DRI_PRIV_H + +#include "dri.h" + +extern Bool DRIExtensionInit(void); + +#endif /* _XSERVER_DRI_PRIV_H */ diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 220c94217..3664f32c8 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -56,7 +56,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "swaprep.h" #include "xf86str.h" -#include "dri.h" +#include "dri_priv.h" #include "sarea.h" #include "dristruct.h" #include "xf86drm.h"