[PATCH] xf86-input-mouse: Remove xf86MouseProtocolIDToName and xf86MouseProtocolNameToID.
Peter Hutterer
peter.hutterer at who-t.net
Tue Mar 24 15:54:30 PDT 2009
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 at who-t.net>
---
src/mouse.c | 12 ------------
src/mouse.h | 3 ---
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
--
1.6.0.6
More information about the xorg-devel
mailing list