summaryrefslogtreecommitdiff
path: root/src/TMaction.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:39 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:39 +0000
commitb90c05162b5edd08338a060f5777419654fa6d2e (patch)
tree346b8c7439d7d8db30404ad9f4db4c4e1725c252 /src/TMaction.c
parenta6bdd56c5b098599942e4091ae7e2af2d4631b44 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
Diffstat (limited to 'src/TMaction.c')
-rw-r--r--src/TMaction.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/TMaction.c b/src/TMaction.c
index a1b7b0a..ac8fcdd 100644
--- a/src/TMaction.c
+++ b/src/TMaction.c
@@ -59,7 +59,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/lib/Xt/TMaction.c,v 3.7 2001/12/14 19:56:30 dawes Exp $ */
+/* $XFree86: xc/lib/Xt/TMaction.c,v 3.8 2003/04/21 16:34:28 herrb Exp $ */
/* TMaction.c -- maintains the state table of actions for the translation
* manager.
@@ -400,18 +400,10 @@ static XtActionProc *TryBindCache(widget, stateTree)
* The class record actions field will point to the bind cache header
* after this call is made out of coreClassPartInit.
*/
-#if NeedFunctionPrototypes
XtPointer _XtInitializeActionData(
register struct _XtActionsRec *actions,
register Cardinal count,
- _XtBoolean inPlace
- )
-#else
-XtPointer _XtInitializeActionData(actions, count, inPlace)
- register struct _XtActionsRec *actions;
- register Cardinal count;
- Boolean inPlace;
-#endif
+ _XtBoolean inPlace)
{
TMClassCache classCache;
@@ -953,22 +945,12 @@ void _XtPopupInitialize(app)
}
-#if NeedFunctionPrototypes
void XtCallActionProc(
Widget widget,
_Xconst char* action,
XEvent *event,
String *params,
- Cardinal num_params
- )
-#else
-void XtCallActionProc(widget, action, event, params, num_params)
- Widget widget;
- String action;
- XEvent *event;
- String *params;
- Cardinal num_params;
-#endif
+ Cardinal num_params)
{
CompiledAction* actionP;
XrmQuark q = XrmStringToQuark(action);