summaryrefslogtreecommitdiff
path: root/lib/libXt/include
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-08-23 15:56:10 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-08-23 15:56:10 +0000
commit3b70db0cc0c1af3d8b3582c29a9eb4e3aa3a8f87 (patch)
treeae993864fecb2d9c06e8a76fbeb7d5d0054d9bdd /lib/libXt/include
parentc6236d9adc97b5c746dac67e8ec6c6d52fe2ae23 (diff)
update to libXt 1.0.6
Diffstat (limited to 'lib/libXt/include')
-rw-r--r--lib/libXt/include/Makefile.in19
-rw-r--r--lib/libXt/include/X11/CallbackI.h4
-rw-r--r--lib/libXt/include/X11/Composite.h2
-rw-r--r--lib/libXt/include/X11/CompositeP.h4
-rw-r--r--lib/libXt/include/X11/ConstrainP.h4
-rw-r--r--lib/libXt/include/X11/Constraint.h6
-rw-r--r--lib/libXt/include/X11/ConvertI.h3
-rw-r--r--lib/libXt/include/X11/Core.h6
-rw-r--r--lib/libXt/include/X11/CoreP.h4
-rw-r--r--lib/libXt/include/X11/CreateI.h7
-rw-r--r--lib/libXt/include/X11/EventI.h4
-rw-r--r--lib/libXt/include/X11/HookObjI.h4
-rw-r--r--lib/libXt/include/X11/InitialI.h4
-rw-r--r--lib/libXt/include/X11/IntrinsicI.h4
-rw-r--r--lib/libXt/include/X11/Object.h7
-rw-r--r--lib/libXt/include/X11/ObjectP.h4
-rw-r--r--lib/libXt/include/X11/PassivGraI.h4
-rw-r--r--lib/libXt/include/X11/RectObj.h7
-rw-r--r--lib/libXt/include/X11/RectObjP.h4
-rw-r--r--lib/libXt/include/X11/ResourceI.h3
-rw-r--r--lib/libXt/include/X11/ShellP.h8
-rw-r--r--lib/libXt/include/X11/ThreadsI.h6
-rw-r--r--lib/libXt/include/X11/TranslateI.h3
-rw-r--r--lib/libXt/include/X11/VarargsI.h4
-rw-r--r--lib/libXt/include/X11/Vendor.h4
-rw-r--r--lib/libXt/include/X11/VendorP.h4
26 files changed, 123 insertions, 10 deletions
diff --git a/lib/libXt/include/Makefile.in b/lib/libXt/include/Makefile.in
index 0574e0a4e..ee290c598 100644
--- a/lib/libXt/include/Makefile.in
+++ b/lib/libXt/include/Makefile.in
@@ -78,9 +78,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
CFLAGS = @CFLAGS@
+CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+CWARNFLAGS = @CWARNFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
@@ -90,6 +93,7 @@ DEFS = @DEFS@
DEPDIR = @DEPDIR@
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
+DSYMUTIL = @DSYMUTIL@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
@@ -100,6 +104,7 @@ F77 = @F77@
FFLAGS = @FFLAGS@
FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
+GREP = @GREP@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_MAKESTRS_FALSE = @INSTALL_MAKESTRS_FALSE@
INSTALL_MAKESTRS_TRUE = @INSTALL_MAKESTRS_TRUE@
@@ -121,6 +126,7 @@ MAKEINFO = @MAKEINFO@
MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
MISC_MAN_DIR = @MISC_MAN_DIR@
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
+NMEDIT = @NMEDIT@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
@@ -133,6 +139,7 @@ PKG_CONFIG = @PKG_CONFIG@
RANLIB = @RANLIB@
RAWCPP = @RAWCPP@
RAWCPPFLAGS = @RAWCPPFLAGS@
+SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRINGSABIOPTIONS = @STRINGSABIOPTIONS@
@@ -143,13 +150,9 @@ XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
XT_CFLAGS = @XT_CFLAGS@
XT_LIBS = @XT_LIBS@
-ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
-ac_ct_RANLIB = @ac_ct_RANLIB@
-ac_ct_STRIP = @ac_ct_STRIP@
-ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
@@ -167,23 +170,31 @@ build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
+datarootdir = @datarootdir@
+distcleancheck_listfiles = @distcleancheck_listfiles@
+docdir = @docdir@
+dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
+htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
+localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
+psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
diff --git a/lib/libXt/include/X11/CallbackI.h b/lib/libXt/include/X11/CallbackI.h
index 4ae08ab01..64e815256 100644
--- a/lib/libXt/include/X11/CallbackI.h
+++ b/lib/libXt/include/X11/CallbackI.h
@@ -58,6 +58,8 @@ typedef XrmResource **CallbackTable;
#define _XtCBCalling 1
#define _XtCBFreeAfterCalling 2
+_XFUNCPROTOBEGIN
+
typedef struct internalCallbackRec {
unsigned short count;
char is_padded; /* contains NULL padding for external form */
@@ -115,3 +117,5 @@ extern void _XtCallConditionalCallbackList(
XtPointer /* call_data */,
_XtConditionProc /* cond_proc */
);
+
+_XFUNCPROTOEND
diff --git a/lib/libXt/include/X11/Composite.h b/lib/libXt/include/X11/Composite.h
index 0a58332be..c3c982868 100644
--- a/lib/libXt/include/X11/Composite.h
+++ b/lib/libXt/include/X11/Composite.h
@@ -97,7 +97,7 @@ extern void XtChangeManagedSet(
_XFUNCPROTOEND
-#ifndef XT_COMPOSITE
+#ifndef VMS
externalref WidgetClass compositeWidgetClass;
#endif
diff --git a/lib/libXt/include/X11/CompositeP.h b/lib/libXt/include/X11/CompositeP.h
index ed055b21f..e93275ace 100644
--- a/lib/libXt/include/X11/CompositeP.h
+++ b/lib/libXt/include/X11/CompositeP.h
@@ -52,6 +52,8 @@ SOFTWARE.
#include <X11/Composite.h>
+_XFUNCPROTOBEGIN
+
/************************************************************************
*
* Additional instance fields for widgets of (sub)class 'Composite'
@@ -101,6 +103,8 @@ typedef struct _CompositeClassRec {
externalref CompositeClassRec compositeClassRec;
+_XFUNCPROTOEND
+
#define XtCompositeExtensionVersion 2L
#define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit)
#define XtInheritChangeManaged ((XtWidgetProc) _XtInherit)
diff --git a/lib/libXt/include/X11/ConstrainP.h b/lib/libXt/include/X11/ConstrainP.h
index a90d19ac6..7030a3411 100644
--- a/lib/libXt/include/X11/ConstrainP.h
+++ b/lib/libXt/include/X11/ConstrainP.h
@@ -52,6 +52,8 @@ SOFTWARE.
#include <X11/Constraint.h>
+_XFUNCPROTOBEGIN
+
typedef struct _ConstraintPart {
XtPointer mumble; /* No new fields, keep C compiler happy */
} ConstraintPart;
@@ -88,6 +90,8 @@ typedef struct _ConstraintClassRec {
externalref ConstraintClassRec constraintClassRec;
+_XFUNCPROTOEND
+
#define XtConstraintExtensionVersion 1L
#endif /* _XtConstraintP_h */
diff --git a/lib/libXt/include/X11/Constraint.h b/lib/libXt/include/X11/Constraint.h
index 9bb962e0d..977e7eeac 100644
--- a/lib/libXt/include/X11/Constraint.h
+++ b/lib/libXt/include/X11/Constraint.h
@@ -50,11 +50,15 @@ SOFTWARE.
#ifndef _XtConstraint_h
#define _XtConstraint_h
+_XFUNCPROTOBEGIN
+
typedef struct _ConstraintClassRec *ConstraintWidgetClass;
-#ifndef CONSTRAINT
+#ifndef VMS
externalref WidgetClass constraintWidgetClass;
#endif
+_XFUNCPROTOEND
+
#endif /* _XtConstraint_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/ConvertI.h b/lib/libXt/include/X11/ConvertI.h
index 02c0e5ca0..f3f7fb0ba 100644
--- a/lib/libXt/include/X11/ConvertI.h
+++ b/lib/libXt/include/X11/ConvertI.h
@@ -48,6 +48,8 @@ SOFTWARE.
******************************************************************/
/* $XFree86: xc/lib/Xt/ConvertI.h,v 1.3 2001/12/14 19:56:09 dawes Exp $ */
+_XFUNCPROTOBEGIN
+
/* Representation types */
extern XrmQuark _XtQString;
@@ -94,3 +96,4 @@ extern Boolean _XtConvert(
void _XtConvertInitialize(void);
+_XFUNCPROTOEND
diff --git a/lib/libXt/include/X11/Core.h b/lib/libXt/include/X11/Core.h
index ff6cb7535..5127b501a 100644
--- a/lib/libXt/include/X11/Core.h
+++ b/lib/libXt/include/X11/Core.h
@@ -53,14 +53,18 @@ SOFTWARE.
#ifndef _XtCore_h
#define _XtCore_h
+_XFUNCPROTOBEGIN
+
typedef struct _WidgetClassRec *CoreWidgetClass;
typedef struct _WidgetRec *CoreWidget;
externalref WidgetClass coreWidgetClass;
-#ifndef _XT_CORE_C
+#ifndef VMS
externalref WidgetClass widgetClass;
#endif
+_XFUNCPROTOEND
+
#endif /* _XtCore_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/CoreP.h b/lib/libXt/include/X11/CoreP.h
index e07f085e6..57836e615 100644
--- a/lib/libXt/include/X11/CoreP.h
+++ b/lib/libXt/include/X11/CoreP.h
@@ -55,6 +55,8 @@ SOFTWARE.
#include <X11/Core.h>
+_XFUNCPROTOBEGIN
+
externalref int _XtInheritTranslations;
#define XtInheritTranslations ((String) &_XtInheritTranslations)
@@ -167,5 +169,7 @@ typedef struct _WidgetClassRec {
externalref WidgetClassRec widgetClassRec;
#define coreClassRec widgetClassRec
+_XFUNCPROTOEND
+
#endif /* _XtCoreP_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/CreateI.h b/lib/libXt/include/X11/CreateI.h
index 87abb1d2d..e0ca9a3a6 100644
--- a/lib/libXt/include/X11/CreateI.h
+++ b/lib/libXt/include/X11/CreateI.h
@@ -3,6 +3,8 @@
#ifndef _XtcreateI_h
#define _XtcreateI_h
+_XFUNCPROTOBEGIN
+
extern Widget _XtCreateWidget(String name, WidgetClass widget_class,
Widget parent, ArgList args, Cardinal num_args,
XtTypedArgList typed_args,
@@ -18,9 +20,12 @@ extern Widget _XtAppCreateShell(String name, String class,
Cardinal num_typed_args);
extern Widget _XtCreateHookObj(Screen *screen);
+_XFUNCPROTOEND
#include <stdarg.h>
+_XFUNCPROTOBEGIN
+
/* VarCreate.c */
extern Widget _XtVaOpenApplication(XtAppContext *app_context_return,
_Xconst char* application_class,
@@ -34,4 +39,6 @@ extern Widget _XtVaAppInitialize(XtAppContext *app_context_return,
int *argc_in_out, String *argv_in_out,
String *fallback_resources, va_list var_args);
+_XFUNCPROTOEND
+
#endif /* _XtcreateI_h */
diff --git a/lib/libXt/include/X11/EventI.h b/lib/libXt/include/X11/EventI.h
index 00858e71e..d2d1d0f43 100644
--- a/lib/libXt/include/X11/EventI.h
+++ b/lib/libXt/include/X11/EventI.h
@@ -65,6 +65,8 @@ typedef struct _XtGrabRec *XtGrabList;
#include "PassivGraI.h"
+_XFUNCPROTOBEGIN
+
extern void _XtEventInitialize(
void
);
@@ -131,4 +133,6 @@ extern void _XtFillAncestorList(Widget **listPtr, int *maxElemsPtr,
/* NextEvent.c */
extern Boolean XtAppPeekEvent_SkipTimer;
+_XFUNCPROTOEND
+
#endif /* _Event_h_ */
diff --git a/lib/libXt/include/X11/HookObjI.h b/lib/libXt/include/X11/HookObjI.h
index c9a22a256..c0858c2b5 100644
--- a/lib/libXt/include/X11/HookObjI.h
+++ b/lib/libXt/include/X11/HookObjI.h
@@ -29,6 +29,8 @@ in this Software without prior written authorization from The Open Group.
#ifndef _XtHookObjI_h
#define _XtHookObjI_h
+_XFUNCPROTOBEGIN
+
/* This object is implementation-dependent and private to the library. */
typedef struct _HookObjRec *HookObject;
@@ -66,6 +68,8 @@ typedef struct _HookObjClassRec {
externalref HookObjClassRec hookObjClassRec;
+_XFUNCPROTOEND
+
#endif /* ifndef _Xt_HookObjI_h */
diff --git a/lib/libXt/include/X11/InitialI.h b/lib/libXt/include/X11/InitialI.h
index c2fe47c1b..2ae9b743c 100644
--- a/lib/libXt/include/X11/InitialI.h
+++ b/lib/libXt/include/X11/InitialI.h
@@ -84,6 +84,8 @@ SOFTWARE.
#include <X11/Xos.h>
#include <X11/Xpoll.h>
+_XFUNCPROTOBEGIN
+
typedef struct _TimerEventRec {
struct timeval te_timer_value;
struct _TimerEventRec *te_next;
@@ -426,4 +428,6 @@ extern XrmDatabase _XtPreparseCommandLine(XrmOptionDescRec *urlist,
String *applName, String *displayName,
String *language);
+_XFUNCPROTOEND
+
#endif /* _XtinitialI_h */
diff --git a/lib/libXt/include/X11/IntrinsicI.h b/lib/libXt/include/X11/IntrinsicI.h
index d749867b8..d88166fc3 100644
--- a/lib/libXt/include/X11/IntrinsicI.h
+++ b/lib/libXt/include/X11/IntrinsicI.h
@@ -194,6 +194,8 @@ SOFTWARE.
#define ERRORDB "/usr/lib/X11/XtErrorDB"
#endif
+_XFUNCPROTOBEGIN
+
extern String XtCXtToolkitError;
extern void _XtAllocError(
@@ -257,5 +259,7 @@ extern char* __XtCalloc (
#define __XtCalloc XtCalloc
#endif
+_XFUNCPROTOEND
+
#endif /* _XtintrinsicI_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/Object.h b/lib/libXt/include/X11/Object.h
index 96723b16e..5ef65de3c 100644
--- a/lib/libXt/include/X11/Object.h
+++ b/lib/libXt/include/X11/Object.h
@@ -50,11 +50,16 @@ SOFTWARE.
#ifndef _XtObject_h
#define _XtObject_h
+_XFUNCPROTOBEGIN
+
typedef struct _ObjectRec *Object;
typedef struct _ObjectClassRec *ObjectClass;
-#ifndef OBJECT
+#ifndef VMS
externalref WidgetClass objectClass;
#endif
+
+_XFUNCPROTOEND
+
#endif /* _XtObject_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/ObjectP.h b/lib/libXt/include/X11/ObjectP.h
index a24564ef2..0f484d2fd 100644
--- a/lib/libXt/include/X11/ObjectP.h
+++ b/lib/libXt/include/X11/ObjectP.h
@@ -52,6 +52,8 @@ SOFTWARE.
#include <X11/Object.h>
+_XFUNCPROTOBEGIN
+
/**********************************************************
* Object Instance Data Structures
*
@@ -132,6 +134,8 @@ typedef struct _ObjectClassRec {
externalref ObjectClassRec objectClassRec;
+_XFUNCPROTOEND
+
#define XtObjectExtensionVersion 1L
#define XtInheritAllocate ((XtAllocateProc) _XtInherit)
#define XtInheritDeallocate ((XtDeallocateProc) _XtInherit)
diff --git a/lib/libXt/include/X11/PassivGraI.h b/lib/libXt/include/X11/PassivGraI.h
index 02e296484..10591ac4d 100644
--- a/lib/libXt/include/X11/PassivGraI.h
+++ b/lib/libXt/include/X11/PassivGraI.h
@@ -60,6 +60,8 @@ in this Software without prior written authorization from The Open Group.
#define KEYBOARD TRUE
#define POINTER FALSE
+_XFUNCPROTOBEGIN
+
typedef enum {
XtNoServerGrab,
XtPassiveServerGrab,
@@ -183,4 +185,6 @@ extern void _XtClearAncestorCache(
Widget /* widget */
);
+_XFUNCPROTOEND
+
#endif /* _PDI_h_ */
diff --git a/lib/libXt/include/X11/RectObj.h b/lib/libXt/include/X11/RectObj.h
index 07615fab7..81e43a5e2 100644
--- a/lib/libXt/include/X11/RectObj.h
+++ b/lib/libXt/include/X11/RectObj.h
@@ -50,11 +50,16 @@ SOFTWARE.
#ifndef _XtRect_h
#define _XtRect_h
+_XFUNCPROTOBEGIN
+
typedef struct _RectObjRec *RectObj;
typedef struct _RectObjClassRec *RectObjClass;
-#ifndef RECTOBJ
+#ifndef VMS
externalref WidgetClass rectObjClass;
#endif
+
+_XFUNCPROTOEND
+
#endif /* _XtRect_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/RectObjP.h b/lib/libXt/include/X11/RectObjP.h
index ca3b8ade7..d6ffb7823 100644
--- a/lib/libXt/include/X11/RectObjP.h
+++ b/lib/libXt/include/X11/RectObjP.h
@@ -53,6 +53,8 @@ SOFTWARE.
#include <X11/RectObj.h>
#include <X11/ObjectP.h>
+_XFUNCPROTOBEGIN
+
/**********************************************************
* Rectangle Object Instance Data Structures
*
@@ -126,4 +128,6 @@ typedef struct _RectObjClassRec {
externalref RectObjClassRec rectObjClassRec;
+_XFUNCPROTOEND
+
#endif /*_Xt_RectObjP_h_*/
diff --git a/lib/libXt/include/X11/ResourceI.h b/lib/libXt/include/X11/ResourceI.h
index d6ed1df23..3db97f83e 100644
--- a/lib/libXt/include/X11/ResourceI.h
+++ b/lib/libXt/include/X11/ResourceI.h
@@ -61,6 +61,8 @@ SOFTWARE.
#define StringToName(string) XrmStringToName(string)
#define StringToClass(string) XrmStringToClass(string)
+_XFUNCPROTOBEGIN
+
extern void _XtDependencies(
XtResourceList * /* class_resp */,
Cardinal * /* class_num_resp */,
@@ -96,5 +98,6 @@ extern XrmResourceList* _XtCreateIndirectionTable(XtResourceList resources,
Cardinal num_resources);
extern void _XtResourceListInitialize(void);
+_XFUNCPROTOEND
#endif /* _XtresourceI_h */
diff --git a/lib/libXt/include/X11/ShellP.h b/lib/libXt/include/X11/ShellP.h
index 2b08c3f5c..7297d3321 100644
--- a/lib/libXt/include/X11/ShellP.h
+++ b/lib/libXt/include/X11/ShellP.h
@@ -67,6 +67,8 @@ SOFTWARE.
* *****
*/
+_XFUNCPROTOBEGIN
+
/***********************************************************************
*
* Shell Widget Private Data
@@ -214,8 +216,12 @@ typedef struct {
WMShellPart wm;
} WMShellRec, *WMShellWidget;
+_XFUNCPROTOEND
+
#include <X11/VendorP.h>
+_XFUNCPROTOBEGIN
+
/***********************************************************************
*
* TransientShell Widget Private Data
@@ -425,4 +431,6 @@ typedef struct {
SessionShellPart session;
} SessionShellRec, *SessionShellWidget;
+_XFUNCPROTOEND
+
#endif /* _XtShellPrivate_h */
diff --git a/lib/libXt/include/X11/ThreadsI.h b/lib/libXt/include/X11/ThreadsI.h
index 1492d7711..f07fe290f 100644
--- a/lib/libXt/include/X11/ThreadsI.h
+++ b/lib/libXt/include/X11/ThreadsI.h
@@ -81,6 +81,8 @@ typedef void (*ThreadAppRestoreLockProc)(
Boolean* /* pushed_thread */
);
+_XFUNCPROTOBEGIN
+
extern void (*_XtProcessLock)(
void
);
@@ -93,6 +95,8 @@ extern void (*_XtInitAppLock)(
XtAppContext /* app */
);
+_XFUNCPROTOEND
+
#define INIT_APP_LOCK(app) if(_XtInitAppLock) (*_XtInitAppLock)(app)
#define FREE_APP_LOCK(app) if(app && app->free_lock)(*app->free_lock)(app)
@@ -111,7 +115,7 @@ extern void (*_XtInitAppLock)(
XtWidgetToApplicationContext(w) : NULL)
#define DPY_TO_APPCON(d) \
- XtAppContext app = (_XtProcessLock ? XtDisplayToApplicationContext(d): 0)
+ XtAppContext app = (_XtProcessLock ? XtDisplayToApplicationContext(d): NULL)
#else /* defined(XTHREADS) */
diff --git a/lib/libXt/include/X11/TranslateI.h b/lib/libXt/include/X11/TranslateI.h
index 122487523..6cc3099cf 100644
--- a/lib/libXt/include/X11/TranslateI.h
+++ b/lib/libXt/include/X11/TranslateI.h
@@ -342,6 +342,8 @@ typedef struct _TMGlobalRec{
#endif /* TRACE_TM */
}TMGlobalRec;
+_XFUNCPROTOBEGIN
+
extern TMGlobalRec _XtGlobalTM;
#define TM_MOD_SEGMENT_SIZE 16
@@ -604,3 +606,4 @@ extern void _XtUnmergeTranslations(
/* TMKey.c */
extern void _XtAllocTMContext(XtPerDisplay pd);
+_XFUNCPROTOEND
diff --git a/lib/libXt/include/X11/VarargsI.h b/lib/libXt/include/X11/VarargsI.h
index e15404aab..76ce9bc7e 100644
--- a/lib/libXt/include/X11/VarargsI.h
+++ b/lib/libXt/include/X11/VarargsI.h
@@ -34,6 +34,8 @@ in this Software without prior written authorization from The Open Group.
/* private routines */
+_XFUNCPROTOBEGIN
+
extern void _XtCountVaList(
va_list /*var*/, int* /*total_count*/, int* /*typed_count*/
);
@@ -62,4 +64,6 @@ extern void _XtGetSubresources(
Widget /*w*/, XtPointer /*base*/, const char* /*name*/, const char* /*class*/, XtResourceList /*resources*/, Cardinal /*num_resources*/, ArgList /*args*/, Cardinal /*num_args*/, XtTypedArgList /*typed_args*/, Cardinal /*num_typed_args*/
);
+_XFUNCPROTOEND
+
#endif /* _VarargsI_h_ */
diff --git a/lib/libXt/include/X11/Vendor.h b/lib/libXt/include/X11/Vendor.h
index 65e7c38b0..633d17aa1 100644
--- a/lib/libXt/include/X11/Vendor.h
+++ b/lib/libXt/include/X11/Vendor.h
@@ -65,7 +65,11 @@ SOFTWARE.
typedef struct _VendorShellClassRec *VendorShellWidgetClass;
+_XFUNCPROTOBEGIN
+
externalref WidgetClass vendorShellWidgetClass;
+_XFUNCPROTOEND
+
#endif /* _XtVendor_h */
/* DON'T ADD STUFF AFTER THIS #endif */
diff --git a/lib/libXt/include/X11/VendorP.h b/lib/libXt/include/X11/VendorP.h
index 08bf6890b..e60857d9e 100644
--- a/lib/libXt/include/X11/VendorP.h
+++ b/lib/libXt/include/X11/VendorP.h
@@ -72,6 +72,8 @@ SOFTWARE.
/* New fields for the VendorShell widget class record */
+_XFUNCPROTOBEGIN
+
typedef struct {
XtPointer extension; /* pointer to extension record */
} VendorShellClassPart;
@@ -100,4 +102,6 @@ typedef struct {
VendorShellPart vendor;
} VendorShellRec, *VendorShellWidget;
+_XFUNCPROTOEND
+
#endif /* _XtVendorPrivate_h */