diff options
author | Josh Triplett <josh@freedesktop.org> | 2010-04-15 14:24:21 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-04-15 14:24:21 -0700 |
commit | a3f5f1b90936d23e9894e3261b2d77fb7b32a51a (patch) | |
tree | 9f29db2482bea217773915442868084e5cad2829 /src/Xprivate.h | |
parent | a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 (diff) | |
download | xorg-lib-libX11-a3f5f1b90936d23e9894e3261b2d77fb7b32a51a.tar.gz |
Stop returning an int from _XIDHandler and _XSeqSyncFunction
_XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and
thus had to return an int. Now, they only run from _XPrivSyncHandler or
LockDisplay, neither of which needs to check their return value since they
always returned 0. Make them both void.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src/Xprivate.h')
-rw-r--r-- | src/Xprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xprivate.h b/src/Xprivate.h index 812721de..cba07db1 100644 --- a/src/Xprivate.h +++ b/src/Xprivate.h @@ -8,8 +8,8 @@ #ifndef XPRIVATE_H #define XPRIVATE_H -extern int _XIDHandler(Display *dpy); -extern int _XSeqSyncFunction(Display *dpy); +extern void _XIDHandler(Display *dpy); +extern void _XSeqSyncFunction(Display *dpy); extern void _XSetPrivSyncFunction(Display *dpy); extern void _XSetSeqSyncFunction(Display *dpy); |