diff options
Diffstat (limited to 'src/ChkWinEv.c')
-rw-r--r-- | src/ChkWinEv.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/ChkWinEv.c b/src/ChkWinEv.c index 27d4c05e..f7245544 100644 --- a/src/ChkWinEv.c +++ b/src/ChkWinEv.c @@ -24,16 +24,12 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/X11/ChkWinEv.c,v 3.6 2001/12/14 19:53:58 dawes Exp $ */ #define NEED_EVENTS #include "Xlibint.h" -#ifdef __STDC__ -#define Const const -#else -#define Const /**/ -#endif -extern long Const _Xevent_to_mask[]; +extern long const _Xevent_to_mask[]; #define AllPointers (PointerMotionMask|PointerMotionHintMask|ButtonMotionMask) #define AllButtons (Button1MotionMask|Button2MotionMask|Button3MotionMask|\ Button4MotionMask|Button5MotionMask) @@ -51,7 +47,7 @@ Bool XCheckWindowEvent (dpy, w, mask, event) register XEvent *event; /* XEvent to be filled in. */ { register _XQEvent *prev, *qelt; - unsigned long qe_serial; + unsigned long qe_serial = 0; int n; /* time through count */ LockDisplay(dpy); |