mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: xf86.h: make xf86EnableInputHandler() static
Only used locally inside xf86Events.c, so can be made static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -175,7 +175,6 @@ extern _X_EXPORT xf86SetDGAModeProc xf86SetDGAMode;
|
||||
typedef struct _InputInfoRec *InputInfoPtr;
|
||||
|
||||
extern _X_EXPORT void SetTimeSinceLastInputEvent(void);
|
||||
extern _X_EXPORT void xf86EnableInputHandler(void *handler);
|
||||
extern _X_EXPORT void *xf86AddGeneralHandler(int fd, InputHandlerProc proc,
|
||||
void *data);
|
||||
extern _X_EXPORT int xf86RemoveGeneralHandler(void *handler);
|
||||
|
||||
@@ -342,6 +342,7 @@ xf86UpdateHasVTProperty(Bool hasVT)
|
||||
}
|
||||
|
||||
static void xf86DisableInputHandler(void *handler);
|
||||
static void xf86EnableInputHandler(void *handler);
|
||||
|
||||
void
|
||||
xf86VTLeave(void)
|
||||
@@ -650,8 +651,7 @@ xf86DisableGeneralHandler(void *handler)
|
||||
RemoveNotifyFd(ih->fd);
|
||||
}
|
||||
|
||||
void
|
||||
xf86EnableInputHandler(void *handler)
|
||||
static void xf86EnableInputHandler(void *handler)
|
||||
{
|
||||
IHPtr ih;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user