summaryrefslogtreecommitdiff
path: root/Xi/getmmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getmmap.c')
-rw-r--r--Xi/getmmap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/Xi/getmmap.c b/Xi/getmmap.c
index 93b5748c0..67e36b442 100644
--- a/Xi/getmmap.c
+++ b/Xi/getmmap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/programs/Xserver/Xi/getmmap.c,v 3.3 2001/12/14 19:58:57 dawes Exp $ */
/********************************************************************
*
@@ -59,11 +60,11 @@ SOFTWARE.
#include "inputstr.h" /* DeviceIntPtr */
#include "XI.h"
#include "XIproto.h" /* Request macro */
+#include "extnsionst.h"
+#include "extinit.h" /* LookupDeviceIntRec */
+#include "exglobals.h"
-extern int IReqCode;
-extern int BadDevice;
-extern void (* ReplySwapVector[256]) ();
-DeviceIntPtr LookupDeviceIntRec();
+#include "getmmap.h"
/***********************************************************************
*
@@ -89,6 +90,7 @@ SProcXGetDeviceModifierMapping(client)
*
*/
+int
ProcXGetDeviceModifierMapping(client)
ClientPtr client;
{
@@ -138,6 +140,7 @@ ProcXGetDeviceModifierMapping(client)
*
*/
+void
SRepXGetDeviceModifierMapping (client, size, rep)
ClientPtr client;
int size;