From 3986f13c9319b4f64c7b2ec56391370735e7d51d Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Fri, 14 Nov 2003 16:48:49 +0000 Subject: XFree86 4.3.0.1 --- src/XSetDVal.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/XSetDVal.c') diff --git a/src/XSetDVal.c b/src/XSetDVal.c index 55e9bff..64da6c4 100644 --- a/src/XSetDVal.c +++ b/src/XSetDVal.c @@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/lib/Xi/XSetDVal.c,v 3.4 2002/10/16 00:37:29 dawes Exp $ */ /*********************************************************************** * @@ -53,11 +54,12 @@ SOFTWARE. * */ -#include "XI.h" -#include "XIproto.h" -#include "Xlibint.h" -#include "XInput.h" -#include "extutil.h" +#include +#include +#include +#include +#include +#include "XIint.h" int XSetDeviceValuators (dpy, dev, valuators, first_valuator, num_valuators) @@ -69,7 +71,7 @@ XSetDeviceValuators (dpy, dev, valuators, first_valuator, num_valuators) { xSetDeviceValuatorsReq *req; xSetDeviceValuatorsReply rep; - XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy); + XExtDisplayInfo *info = XInput_find_display (dpy); LockDisplay (dpy); if (_XiCheckExtInit(dpy, XInput_Add_XSetDeviceValuators) == -1) -- cgit v1.2.3