summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrws <empty>1994-01-29 16:34:41 +0000
committerrws <empty>1994-01-29 16:34:41 +0000
commit8c78737c752216077bf74257ca5ca24e1a8be48d (patch)
tree901b462052e99187d611c865749dd7f2c469a8a0
parent56cbebb990b2e70f0a6a204468897964e0c93e92 (diff)
fix up func protos
-rw-r--r--xc/test/xsuite/xtest/include/ximtest.h50
1 files changed, 35 insertions, 15 deletions
diff --git a/xc/test/xsuite/xtest/include/ximtest.h b/xc/test/xsuite/xtest/include/ximtest.h
index 8a784bd47..227c75e5e 100644
--- a/xc/test/xsuite/xtest/include/ximtest.h
+++ b/xc/test/xsuite/xtest/include/ximtest.h
@@ -1,4 +1,7 @@
-/* $XConsortium$ */
+/* $XConsortium: ximtest.h,v 1.1 94/01/29 15:54:38 rws Exp $ */
+#include <X11/Xfuncproto.h>
+#include <X11/Xresource.h>
+
#define CB_MAX 8
#define CB_PE_START 0
#define CB_PE_DONE 1
@@ -91,18 +94,35 @@ struct ximconfig {
extern struct ximconfig ximconfig;
-#if defined(FUNCPROTO) || __STDC__ || defined(__cplusplus) || defined(c_plusplus)
-void localestartup(void);
-void localecleanup(void);
-XrmDatabase rm_db_open(void);
-XIM im_open(XrmDatabase db);
-XIC ic_open(XIM im,Window win,XIMStyle which_style);
-XIC xim_ic_init(char* plocale);
-#else
-void localestartup();
-void localecleanup();
-XrmDatabase rm_db_open();
-XIM im_open();
-XIC ic_open();
-XIC xim_ic_init();
+void localestartup(
+#if NeedFunctionPrototypes
+ void
+#endif
+);
+void localecleanup(
+#if NeedFunctionPrototypes
+ void
+#endif
+);
+XrmDatabase rm_db_open(
+#if NeedFunctionPrototypes
+ void
+#endif
+);
+XIM im_open(
+#if NeedFunctionPrototypes
+ XrmDatabase /* db */
+#endif
+);
+XIC ic_open(
+#if NeedFunctionPrototypes
+ XIM /* im */,
+ Window /* win */,
+ XIMStyle /* which_style */
+#endif
+);
+XIC xim_ic_init(
+#if NeedFunctionPrototypes
+ char* /* plocale */
#endif
+);