summaryrefslogtreecommitdiff
path: root/Xi/getbmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getbmap.c')
-rw-r--r--Xi/getbmap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/Xi/getbmap.c b/Xi/getbmap.c
index 35c2d5c7d..fb22a1422 100644
--- a/Xi/getbmap.c
+++ b/Xi/getbmap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/programs/Xserver/Xi/getbmap.c,v 3.3 2001/12/14 19:58:56 dawes Exp $ */
/***********************************************************************
*
@@ -59,11 +60,11 @@ SOFTWARE.
#include "inputstr.h" /* DeviceIntPtr */
#include "XI.h"
#include "XIproto.h"
+#include "extnsionst.h"
+#include "extinit.h" /* LookupDeviceIntRec */
+#include "exglobals.h"
-extern int IReqCode;
-extern int BadDevice;
-extern void (* ReplySwapVector[256]) ();
-DeviceIntPtr LookupDeviceIntRec();
+#include "getbmap.h"
/***********************************************************************
*
@@ -88,6 +89,7 @@ SProcXGetDeviceButtonMapping(client)
*
*/
+int
ProcXGetDeviceButtonMapping (client)
register ClientPtr client;
{
@@ -134,6 +136,7 @@ ProcXGetDeviceButtonMapping (client)
*
*/
+void
SRepXGetDeviceButtonMapping (client, size, rep)
ClientPtr client;
int size;