summaryrefslogtreecommitdiff
path: root/Xext.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 16:22:20 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 16:22:20 -0200
commitac98d8c559dc798f09e35d13f51cb1116c6378bb (patch)
tree6c6d91eee8c467a2b3bfd343f2fafba4b8784a9f /Xext.h
parent8b5b82ec72dd6952d0664655715a0a47951454f4 (diff)
Bump to libXext Version 7.0.5.xextproto-7.0.5
Add required change to correct #18038 (patch to avoid gcc warning in libXext)
Diffstat (limited to 'Xext.h')
-rw-r--r--Xext.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/Xext.h b/Xext.h
index 5b62c8b..92dc423 100644
--- a/Xext.h
+++ b/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(