mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: make xf86PostKeyEvent() static
Only used inside xf86Xinput.c, so can be made static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -1395,7 +1395,7 @@ xf86PostButtonEventM(DeviceIntPtr device,
|
||||
flags, mask);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
xf86PostKeyEvent(DeviceIntPtr device, unsigned int key_code, int is_down)
|
||||
{
|
||||
#ifdef XFreeXDGA
|
||||
|
||||
@@ -137,8 +137,6 @@ extern _X_EXPORT void xf86PostButtonEventP(DeviceIntPtr device, int is_absolute,
|
||||
extern _X_EXPORT void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute,
|
||||
int button, int is_down,
|
||||
const ValuatorMask *mask);
|
||||
extern _X_EXPORT void xf86PostKeyEvent(DeviceIntPtr device,
|
||||
unsigned int key_code, int is_down);
|
||||
extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device,
|
||||
unsigned int key_code, int is_down);
|
||||
extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid,
|
||||
|
||||
Reference in New Issue
Block a user