xfree86: xf86.h: make xf86EnableGeneralHandler() static

Only used inside xf86Events.c

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:39:04 +02:00
parent 361d60fde6
commit 281e12426f
2 changed files with 2 additions and 3 deletions

View File

@ -178,7 +178,6 @@ extern _X_EXPORT void SetTimeSinceLastInputEvent(void);
extern _X_EXPORT void *xf86AddGeneralHandler(int fd, InputHandlerProc proc,
void *data);
extern _X_EXPORT int xf86RemoveGeneralHandler(void *handler);
extern _X_EXPORT void xf86EnableGeneralHandler(void *handler);
extern _X_EXPORT InputHandlerProc xf86SetConsoleHandler(InputHandlerProc
handler, void *data);
extern _X_EXPORT void xf86ProcessActionEvent(ActionEvent action, void *arg);

View File

@ -344,6 +344,7 @@ xf86UpdateHasVTProperty(Bool hasVT)
static void xf86DisableInputHandler(void *handler);
static void xf86EnableInputHandler(void *handler);
static void xf86DisableGeneralHandler(void *handler);
static void xf86EnableGeneralHandler(void *handler);
void
xf86VTLeave(void)
@ -664,8 +665,7 @@ static void xf86EnableInputHandler(void *handler)
SetNotifyFd(ih->fd, xf86InputHandlerNotify, X_NOTIFY_READ, ih);
}
void
xf86EnableGeneralHandler(void *handler)
static void xf86EnableGeneralHandler(void *handler)
{
IHPtr ih;