diff options
Diffstat (limited to 'X11/extensions/Xext.h')
-rw-r--r-- | X11/extensions/Xext.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/X11/extensions/Xext.h b/X11/extensions/Xext.h index 5b62c8b2d..858592b78 100644 --- a/X11/extensions/Xext.h +++ b/X11/extensions/Xext.h @@ -1,5 +1,4 @@ /* - * $Xorg: Xext.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ * Copyright 1989, 1998 The Open Group @@ -23,7 +22,6 @@ Except as contained in this notice, the name of The Open Group shall not be 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/include/extensions/Xext.h,v 1.4 2001/12/14 19:53:28 dawes Exp $ */ #ifndef _XEXT_H_ #define _XEXT_H_ @@ -32,16 +30,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( |