diff options
author | rws <empty> | 1991-07-12 10:28:17 +0000 |
---|---|---|
committer | rws <empty> | 1991-07-12 10:28:17 +0000 |
commit | dd0c89455a89a4f9d9fef5438d53f4bf4ff744ed (patch) | |
tree | e9559ecf6df0f76b9c0bc19fcdd7ece31a67b39b /xc/include | |
parent | 89fb751c5c437b553d204f5de34a83cedb842dc0 (diff) |
add func protos
Diffstat (limited to 'xc/include')
-rw-r--r-- | xc/include/extensions/Xext.h | 22 |
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" |