summaryrefslogtreecommitdiff
path: root/src/HookObj.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
commita6bdd56c5b098599942e4091ae7e2af2d4631b44 (patch)
treee0a23167aca0fb1127f4cd78edf458b633b31eac /src/HookObj.c
parent6a13c9e08bb042c81ae904c44a38a50d785c824e (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/HookObj.c')
-rw-r--r--src/HookObj.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/HookObj.c b/src/HookObj.c
index fa95c0c..881e55f 100644
--- a/src/HookObj.c
+++ b/src/HookObj.c
@@ -25,6 +25,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/HookObj.c,v 1.3 2001/12/14 19:56:17 dawes Exp $ */
#include "IntrinsicI.h"
#include "StringDefs.h"
@@ -56,7 +57,9 @@ static XtResource resources[] = {
XtOffsetOf(HookObjRec, hooks.num_shells), XtRImmediate, (XtPointer) 0 }
};
-static void GetValuesHook(), Initialize();
+static void GetValuesHook(Widget widget, ArgList args, Cardinal *num_args);
+static void Initialize(Widget req, Widget new, ArgList args,
+ Cardinal *num_args);
externaldef(hookobjclassrec) HookObjClassRec hookObjClassRec = {
{ /* Object Class Part */
@@ -101,9 +104,10 @@ externaldef(hookobjclassrec) HookObjClassRec hookObjClassRec = {
externaldef(hookObjectClass) WidgetClass hookObjectClass =
(WidgetClass)&hookObjClassRec;
-static void FreeShellList(w, closure, call_data)
- Widget w;
- XtPointer closure, call_data;
+static void FreeShellList(
+ Widget w,
+ XtPointer closure,
+ XtPointer call_data)
{
HookObject h = (HookObject)w;
if (h->hooks.shells != NULL)