diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /Xi/queryst.c | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'Xi/queryst.c')
-rw-r--r-- | Xi/queryst.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Xi/queryst.c b/Xi/queryst.c index 66319b2f3..598ab85ae 100644 --- a/Xi/queryst.c +++ b/Xi/queryst.c @@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/programs/Xserver/Xi/queryst.c,v 3.5 2001/12/14 19:58:58 dawes Exp $ */ /*********************************************************************** * @@ -41,11 +42,12 @@ from The Open Group. #include "windowstr.h" /* window structure */ #include "XI.h" #include "XIproto.h" +#include "extnsionst.h" +#include "extinit.h" /* LookupDeviceIntRec */ +#include "exevents.h" +#include "exglobals.h" -extern int IReqCode; -extern int BadDevice; -extern void (* ReplySwapVector[256]) (); -DeviceIntPtr LookupDeviceIntRec(); +#include "queryst.h" /*********************************************************************** * @@ -129,7 +131,7 @@ ProcXQueryDeviceState(client) (v->numAxes * sizeof(int))); num_classes++; } - buf = (char *) Xalloc (total_length); + buf = (char *) xalloc (total_length); if (!buf) { SendErrorToClient(client, IReqCode, X_QueryDeviceState, 0, @@ -184,7 +186,7 @@ ProcXQueryDeviceState(client) WriteReplyToClient (client, sizeof(xQueryDeviceStateReply), &rep); if (total_length > 0) WriteToClient (client, total_length, savbuf); - Xfree (savbuf); + xfree (savbuf); return Success; } @@ -195,6 +197,7 @@ ProcXQueryDeviceState(client) * */ +void SRepXQueryDeviceState (client, size, rep) ClientPtr client; int size; |