From d568221710959cf7d783e6ff0fb80fb43a231124 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Fri, 14 Nov 2003 16:49:22 +0000 Subject: XFree86 4.3.0.1 --- Xi/getfctl.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'Xi/getfctl.c') diff --git a/Xi/getfctl.c b/Xi/getfctl.c index e06470fbc..59c2c122b 100644 --- a/Xi/getfctl.c +++ b/Xi/getfctl.c @@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/programs/Xserver/Xi/getfctl.c,v 3.4 2001/12/14 19:58:56 dawes Exp $ */ /******************************************************************** * @@ -59,17 +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(); -void CopySwapKbdFeedback(); -void CopySwapPtrFeedback(); -void CopySwapIntegerFeedback(); -void CopySwapStringFeedback(); -void CopySwapLedFeedback(); -void CopySwapBellFeedback(); +#include "getfctl.h" /*********************************************************************** * @@ -95,6 +90,7 @@ SProcXGetFeedbackControl(client) * */ +int ProcXGetFeedbackControl(client) ClientPtr client; { @@ -165,7 +161,7 @@ ProcXGetFeedbackControl(client) return Success; } - buf = (char *) Xalloc (total_length); + buf = (char *) xalloc (total_length); if (!buf) { SendErrorToClient(client, IReqCode, X_GetFeedbackControl, 0, @@ -190,7 +186,7 @@ ProcXGetFeedbackControl(client) rep.length = (total_length+3) >> 2; WriteReplyToClient(client, sizeof(xGetFeedbackControlReply), &rep); WriteToClient(client, total_length, savbuf); - Xfree (savbuf); + xfree (savbuf); return Success; } @@ -407,6 +403,7 @@ CopySwapBellFeedback (client, b, buf) * */ +void SRepXGetFeedbackControl (client, size, rep) ClientPtr client; int size; -- cgit v1.2.3