diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index f4ee9fbdc..ccb49f59f 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -182,7 +182,6 @@ extern _X_EXPORT InputHandlerProc xf86SetConsoleHandler(InputHandlerProc handler, void *data); extern _X_EXPORT void xf86ProcessActionEvent(ActionEvent action, void *arg); extern _X_EXPORT Bool xf86VTOwner(void); -extern _X_EXPORT void xf86VTLeave(void); extern _X_EXPORT void xf86VTEnter(void); extern _X_EXPORT void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo); diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index a61cff35d..82977f482 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -345,7 +345,7 @@ static void xf86EnableInputHandler(void *handler); static void xf86DisableGeneralHandler(void *handler); static void xf86EnableGeneralHandler(void *handler); -void +static void xf86VTLeave(void) { int i;