aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-lib/xorg-headers-native/X11/VendorP.h
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-lib/xorg-headers-native/X11/VendorP.h')
-rw-r--r--recipes/xorg-lib/xorg-headers-native/X11/VendorP.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes/xorg-lib/xorg-headers-native/X11/VendorP.h b/recipes/xorg-lib/xorg-headers-native/X11/VendorP.h
index 2e5a9759e6..e60857d9ea 100644
--- a/recipes/xorg-lib/xorg-headers-native/X11/VendorP.h
+++ b/recipes/xorg-lib/xorg-headers-native/X11/VendorP.h
@@ -68,14 +68,12 @@ SOFTWARE.
#ifndef _XtVendorPrivate_h
#define _XtVendorPrivate_h
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <X11/Vendor.h>
/* New fields for the VendorShell widget class record */
+_XFUNCPROTOBEGIN
+
typedef struct {
XtPointer extension; /* pointer to extension record */
} VendorShellClassPart;
@@ -104,8 +102,6 @@ typedef struct {
VendorShellPart vendor;
} VendorShellRec, *VendorShellWidget;
-#ifdef __cplusplus
-}
-#endif
+_XFUNCPROTOEND
#endif /* _XtVendorPrivate_h */