diff options
Diffstat (limited to 'X11/extensions/Xext.h')
-rw-r--r-- | X11/extensions/Xext.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/X11/extensions/Xext.h b/X11/extensions/Xext.h index 5b62c8b2d..92dc423c3 100644 --- a/X11/extensions/Xext.h +++ b/X11/extensions/Xext.h @@ -32,16 +32,14 @@ in this Software without prior written authorization from The Open Group. _XFUNCPROTOBEGIN -extern int (*XSetExtensionErrorHandler( - int (*handler)( - Display *, - char *, - char * - ) -))( - Display *, - char *, - char * +typedef int (*XextErrorHandler) ( + Display * /* dpy */, + _Xconst char* /* ext_name */, + _Xconst char* /* reason */ +); + +extern XextErrorHandler XSetExtensionErrorHandler( + XextErrorHandler /* handler */ ); extern int XMissingExtension( |