From a82ed065995e1727a45929899ed5cb87b8b270a5 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Wed, 30 Jan 2008 17:28:34 -0200 Subject: [PATCH] Make sure xf86MouseProtocolIDToName is of public visibility. This function is called by code in the xf86misc to change mouse parameters, after checking it's availability using LoaderSymbol(). --- src/mouse.c | 2 +- src/mouse.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mouse.c b/src/mouse.c index bd98a80..ce29f32 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -874,7 +874,7 @@ ProtocolIDToName(MouseProtocolID id) } } -const char * +_X_EXPORT const char * xf86MouseProtocolIDToName(MouseProtocolID id) { return ProtocolIDToName(id); diff --git a/src/mouse.h b/src/mouse.h index 16c5a82..8397c9f 100644 --- a/src/mouse.h +++ b/src/mouse.h @@ -9,7 +9,7 @@ #include "xf86OSmouse.h" -const char * xf86MouseProtocolIDToName(MouseProtocolID id); +_X_EXPORT const char * xf86MouseProtocolIDToName(MouseProtocolID id); MouseProtocolID xf86MouseProtocolNameToID(const char *name); #endif -- 1.5.3.2