diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:09 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:09 +0000 |
commit | c0ca603fd38f805d5f53490ec6fb8b5e7f813954 (patch) | |
tree | b6888473ddfebe03b899972613670c5ce797c4d2 /src/extutil.c | |
parent | 6b0dceb5b6027c98e478467576cf61aee1d87074 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'src/extutil.c')
-rw-r--r-- | src/extutil.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/extutil.c b/src/extutil.c index 8057cce..bf89453 100644 --- a/src/extutil.c +++ b/src/extutil.c @@ -45,7 +45,7 @@ in this Software without prior written authorization from The Open Group. * XSetExtensionErrorHandler establish an extension error handler * XMissingExtension raise an error about missing ext */ -/* $XFree86: xc/lib/Xext/extutil.c,v 1.5 2002/10/16 00:37:27 dawes Exp $ */ +/* $XFree86: xc/lib/Xext/extutil.c,v 1.6 2003/11/17 22:20:21 dawes Exp $ */ #include <stdio.h> #include <X11/Xlibint.h> @@ -255,20 +255,13 @@ static int _default_exterror ( extern int (*_XExtensionErrorFunction)(); -#if NeedFunctionPrototypes int (*XSetExtensionErrorHandler( int (*handler)( -#if NeedNestedPrototypes Display*, char *, char * -#endif ) ))() -#else -int (*XSetExtensionErrorHandler(handler))() - int (*handler)(); -#endif { int (*oldhandler)() = _XExtensionErrorFunction; @@ -281,15 +274,10 @@ int (*XSetExtensionErrorHandler(handler))() /* * XMissingExtension - call the extension error handler */ -#if NeedFunctionPrototypes -int XMissingExtension ( +int +XMissingExtension ( Display *dpy, _Xconst char *ext_name) -#else -int XMissingExtension (dpy, ext_name) - Display *dpy; - char *ext_name; -#endif { int (*func)() = (_XExtensionErrorFunction ? _XExtensionErrorFunction : _default_exterror); |