summaryrefslogtreecommitdiff
path: root/xc/lib/Xmu/WidgetNode.h
diff options
context:
space:
mode:
authorconverse <empty>1991-07-22 23:45:14 +0000
committerconverse <empty>1991-07-22 23:45:14 +0000
commit4b4984e8b4d6bca8013d9d030e36388eb0bffea9 (patch)
treef0f595eb408a638dfecad89cb45a7275fa9f1289 /xc/lib/Xmu/WidgetNode.h
parent5c90cb8147b447a66c6383c0b7eceaa3f5f785cd (diff)
use XFUNCPROTOBEGIN magic
Diffstat (limited to 'xc/lib/Xmu/WidgetNode.h')
-rw-r--r--xc/lib/Xmu/WidgetNode.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/xc/lib/Xmu/WidgetNode.h b/xc/lib/Xmu/WidgetNode.h
index 9c0d34c7f..f19ed23a9 100644
--- a/xc/lib/Xmu/WidgetNode.h
+++ b/xc/lib/Xmu/WidgetNode.h
@@ -1,5 +1,5 @@
/*
- * $XConsortium: WidgetNode.h,v 1.5 90/04/25 15:54:56 converse Exp $
+ * $XConsortium: WidgetNode.h,v 1.6 90/12/19 18:05:40 converse Exp $
*
* Copyright 1990 Massachusetts Institute of Technology
*
@@ -26,6 +26,8 @@
#ifndef _XmuWidgetNode_h
#define _XmuWidgetNode_h
+#include <X11/Xfuncproto.h>
+
/*
* This is usually initialized by setting the first two fields and letting
* rest be implicitly nulled (by genlist.sh, for example)
@@ -51,11 +53,8 @@ typedef struct _XmuWidgetNode {
#define XmuWnClassname(wn) (XmuWnClass(wn)->core_class.class_name)
#define XmuWnSuperclass(wn) ((XmuWnClass(wn))->core_class.superclass)
-#ifdef __cplusplus
-extern "C" { /* for C++ V2.0 */
-#endif
-
/* external interfaces */
+_XFUNCPROTOBEGIN
extern void XmuWnInitializeNodes (
#if NeedFunctionPrototypes
@@ -88,9 +87,7 @@ extern XmuWidgetNode *XmuWnNameToNode (
#endif
);
-#ifdef __cplusplus
-} /* for C++ V2.0 */
-#endif
+_XFUNCPROTOEND
#endif /* _XmuWidgetNode_h */