diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 067bc9eef..f3780fc19 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -125,7 +125,6 @@ extern _X_EXPORT GDevPtr xf86AddBusDeviceToConfigure(const char *driver, /* xf86Cursor.c */ -extern _X_EXPORT void xf86LockZoom(ScreenPtr pScreen, int lock); extern _X_EXPORT void xf86InitViewport(ScrnInfoPtr pScr); extern _X_EXPORT void xf86SetViewport(ScreenPtr pScreen, int x, int y); extern _X_EXPORT void xf86ZoomViewport(ScreenPtr pScreen, int zoom); diff --git a/hw/xfree86/common/xf86Cursor.c b/hw/xfree86/common/xf86Cursor.c index d8346bc77..8c521c5ab 100644 --- a/hw/xfree86/common/xf86Cursor.c +++ b/hw/xfree86/common/xf86Cursor.c @@ -41,7 +41,7 @@ #include "scrnintstr.h" #include "globals.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86Priv.h" #include "xf86_OSproc.h" diff --git a/hw/xfree86/common/xf86VidMode.c b/hw/xfree86/common/xf86VidMode.c index a248bd841..6e6e794fa 100644 --- a/hw/xfree86/common/xf86VidMode.c +++ b/hw/xfree86/common/xf86VidMode.c @@ -43,7 +43,7 @@ #include "os/log_priv.h" #include "os.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86Priv.h" #ifdef XF86VIDMODE diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index f5688f4d2..db0baab39 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -11,4 +11,6 @@ extern Bool xf86DoConfigure; extern Bool xf86DoConfigurePass1; extern Bool xf86ProbeIgnorePrimary; +void xf86LockZoom(ScreenPtr pScreen, int lock); + #endif /* _XSERVER_XF86_PRIV_H */