xfree86: xf86.h: make xf86DisableGeneralHandler() static

Only used internally inside of 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:37:55 +02:00
parent 2eb37f8adb
commit 361d60fde6
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 xf86DisableGeneralHandler(void *handler);
extern _X_EXPORT void xf86EnableGeneralHandler(void *handler);
extern _X_EXPORT InputHandlerProc xf86SetConsoleHandler(InputHandlerProc
handler, void *data);

View File

@ -343,6 +343,7 @@ xf86UpdateHasVTProperty(Bool hasVT)
static void xf86DisableInputHandler(void *handler);
static void xf86EnableInputHandler(void *handler);
static void xf86DisableGeneralHandler(void *handler);
void
xf86VTLeave(void)
@ -637,8 +638,7 @@ static void xf86DisableInputHandler(void *handler)
RemoveNotifyFd(ih->fd);
}
void
xf86DisableGeneralHandler(void *handler)
static void xf86DisableGeneralHandler(void *handler)
{
IHPtr ih;