summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-25 08:37:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-08 22:12:07 +1000
commitb698a24ab233ec5da2ebd36b5f6f199219de6d44 (patch)
tree6592d80c8b135cbebd66dbf0767f2d8f9932ee4c
parent6887ca0de8314b6029d5df63777b29c46eeb9442 (diff)
Remove xf86MouseProtocolIDToName and xf86MouseProtocolNameToID.
Both were only used from the xf86-misc extension which is gone from the server as of 1.6. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/mouse.c12
-rw-r--r--src/mouse.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 347afc6..9614688 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -866,18 +866,6 @@ ProtocolIDToName(MouseProtocolID id)
}
}
-_X_EXPORT const char *
-xf86MouseProtocolIDToName(MouseProtocolID id)
-{
- return ProtocolIDToName(id);
-}
-
-MouseProtocolID
-xf86MouseProtocolNameToID(const char *name)
-{
- return ProtocolNameToID(name);
-}
-
static int
ProtocolIDToClass(MouseProtocolID id)
{
diff --git a/src/mouse.h b/src/mouse.h
index 804a8f4..daefbc5 100644
--- a/src/mouse.h
+++ b/src/mouse.h
@@ -7,7 +7,4 @@
#include "xf86OSmouse.h"
-_X_EXPORT const char * xf86MouseProtocolIDToName(MouseProtocolID id);
-MouseProtocolID xf86MouseProtocolNameToID(const char *name);
-
#endif