xf86.h: make xf86DisableGeneralHandler() static

This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:37:55 +02:00
parent 6f9cc0c121
commit 6529cf91d9
2 changed files with 2 additions and 3 deletions

View File

@ -182,7 +182,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;