summaryrefslogtreecommitdiff
path: root/Xi/opendev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/opendev.c')
-rw-r--r--Xi/opendev.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/Xi/opendev.c b/Xi/opendev.c
index 30d6293f0..26210fa86 100644
--- a/Xi/opendev.c
+++ b/Xi/opendev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/programs/Xserver/Xi/opendev.c,v 3.3 2001/12/14 19:58:58 dawes Exp $ */
/***********************************************************************
*
@@ -56,17 +57,18 @@ SOFTWARE.
#define NEED_REPLIES
#include "X.h" /* for inputstr.h */
#include "Xproto.h" /* Request macro */
+#include "inputstr.h" /* DeviceIntPtr */
#include "XI.h"
#include "XIproto.h"
-#include "inputstr.h" /* DeviceIntPtr */
+#include "XIstubs.h"
#include "windowstr.h" /* window structure */
+#include "extnsionst.h"
+#include "extinit.h" /* LookupDeviceIntRec */
+#include "exglobals.h"
+
+#include "opendev.h"
-extern int IReqCode;
-extern int BadDevice;
extern CARD8 event_base [];
-extern InputInfo inputInfo;
-extern void (* ReplySwapVector[256]) ();
-DeviceIntPtr LookupDeviceIntRec();
/***********************************************************************
*
@@ -102,7 +104,6 @@ ProcXOpenDevice(client)
int status = Success;
xOpenDeviceReply rep;
DeviceIntPtr dev;
- void OpenInputDevice();
REQUEST(xOpenDeviceReq);
REQUEST_SIZE_MATCH(xOpenDeviceReq);
@@ -186,6 +187,7 @@ ProcXOpenDevice(client)
*
*/
+void
SRepXOpenDevice (client, size, rep)
ClientPtr client;
int size;