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
commitfdd5d5c77d05c7f085e6f62c66b31b66087d195d (patch)
treebfe00a9f87f29fbcb2b7e034971116111e16b9c7
parentabc107eeb8847b9bf2f303abefde5adaab9331bf (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> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-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
};