summaryrefslogtreecommitdiff
path: root/xc/include
diff options
context:
space:
mode:
authorrws <empty>1991-07-12 10:28:17 +0000
committerrws <empty>1991-07-12 10:28:17 +0000
commitdd0c89455a89a4f9d9fef5438d53f4bf4ff744ed (patch)
treee9559ecf6df0f76b9c0bc19fcdd7ece31a67b39b /xc/include
parent89fb751c5c437b553d204f5de34a83cedb842dc0 (diff)
add func protos
Diffstat (limited to 'xc/include')
-rw-r--r--xc/include/extensions/Xext.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/xc/include/extensions/Xext.h b/xc/include/extensions/Xext.h
index f9ff533a6..5cb144601 100644
--- a/xc/include/extensions/Xext.h
+++ b/xc/include/extensions/Xext.h
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: Xext.h,v 1.1 89/10/12 17:19:17 rws Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -24,8 +24,24 @@
#ifndef _XEXT_H_
#define _XEXT_H_
-extern int (*XSetExtensionErrorHandler())(); /* called on missing exts */
-extern int XMissingExtension(); /* no extension for routine */
+#include <X11/Xfuncproto.h>
+
+_XFUNCPROTOBEGIN
+
+extern int (*XSetExtensionErrorHandler())(
+#if NeedFunctionPrototypes
+ int (*handler)()
+#endif
+);
+
+extern int XMissingExtension(
+#if NeedFunctionPrototypes
+ Display* /* dpy */,
+ _Xconst char* /* ext_name */
+#endif
+);
+
+_XFUNCPROTOEND
#define X_EXTENSION_UNKNOWN "unknown"
#define X_EXTENSION_MISSING "missing"