summaryrefslogtreecommitdiff
path: root/lib/libX11/src/ChkIfEv.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 12:59:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 12:59:13 +0000
commit42f51ca8ac9c0f97101006a1892350b599b579c3 (patch)
treedc092d06ac762491ec21f9e28e7b33edddb9c8e9 /lib/libX11/src/ChkIfEv.c
parentdf8d13bc873527069d0e7b2396638af253b48763 (diff)
update to libX11 1.2.1
Diffstat (limited to 'lib/libX11/src/ChkIfEv.c')
-rw-r--r--lib/libX11/src/ChkIfEv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libX11/src/ChkIfEv.c b/lib/libX11/src/ChkIfEv.c
index ff74bcd73..9bef64f89 100644
--- a/lib/libX11/src/ChkIfEv.c
+++ b/lib/libX11/src/ChkIfEv.c
@@ -32,21 +32,21 @@ in this Software without prior written authorization from The Open Group.
#endif
#include "Xlibint.h"
-/*
+/*
* Check existing events in queue to find if any match. If so, return.
* If not, flush buffer and see if any more events are readable. If one
* matches, return. If all else fails, tell the user no events found.
*/
-Bool XCheckIfEvent (dpy, event, predicate, arg)
- register Display *dpy;
+Bool XCheckIfEvent (
+ register Display *dpy,
+ register XEvent *event, /* XEvent to be filled in. */
Bool (*predicate)(
Display* /* display */,
XEvent* /* event */,
char* /* arg */
- ); /* function to call */
- register XEvent *event; /* XEvent to be filled in. */
- char *arg;
+ ), /* function to call */
+ char *arg)
{
register _XQEvent *prev, *qelt;
unsigned long qe_serial = 0;