diff options
author | Przemo Firszt <przemo@firszt.eu> | 2009-12-13 17:28:59 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-12-14 08:49:53 +1000 |
commit | bffe7c23591c0d1ae70e73a27fab669d4a190ade (patch) | |
tree | 7686a26c288653a5945e4d4f6dcfa529e7e145a1 | |
parent | a8a0a65457d2f7516c5781bddba23acfdd263889 (diff) | |
download | xf86-input-wacom-bffe7c23591c0d1ae70e73a27fab669d4a190ade.tar.gz |
Quiet gcc warning about not used xf86WcmKbdLedCallback function
xf86WcmKbdLedCallback is used only for ABI < 5, so there is no need to define
it for newer ABI.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86Wacom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c index 05851db..d4cb1fe 100644 --- a/src/xf86Wacom.c +++ b/src/xf86Wacom.c @@ -98,9 +98,11 @@ static void xf86WcmKbdLedCallback(DeviceIntPtr di, LedCtrl * lcp) { } +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 5 static void xf86WcmBellCallback(int pct, DeviceIntPtr di, pointer ctrl, int x) { } +#endif static void xf86WcmKbdCtrlCallback(DeviceIntPtr di, KeybdCtrl* ctrl) { |