summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-10-25 10:46:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-10-25 11:41:47 +1000
commit566b028a93a94c6495af83ede233981dfc42be1f (patch)
treebfe00a9f87f29fbcb2b7e034971116111e16b9c7
parente1dca6c33b216bf02f863a960f579394c8280005 (diff)
Remove unused declaration of MouseUnInit.
To not have an UnInit function one needs to explicitly not define an UnInit function that is then not used, so that definitely no UnInit is performed with the function that is not defined. Philosophically speaking, this may be true. Meanwhile, over here in reality, well... meh. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/mouse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mouse.c b/src/mouse.c
index c7f28c7..8a0695f 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -120,9 +120,6 @@ typedef struct _DragLockRec {
static InputInfoPtr MousePreInit(InputDriverPtr drv, IDevPtr dev, int flags);
-#if 0
-static void MouseUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags);
-#endif
static int MouseProc(DeviceIntPtr device, int what);
static Bool MouseConvert(LocalDevicePtr local, int first, int num, int v0,
@@ -161,7 +158,7 @@ _X_EXPORT InputDriverRec MOUSE = {
"mouse",
NULL,
MousePreInit,
- /*MouseUnInit,*/NULL,
+ NULL,
NULL,
0
};