From bdc0667ef29e24b1a2188b11546d843a7d3e5ef6 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Fri, 14 Nov 2003 16:48:49 +0000 Subject: XFree86 4.3.0.1 --- src/Hooks.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/Hooks.c') diff --git a/src/Hooks.c b/src/Hooks.c index 5878d61..ad4cc19 100644 --- a/src/Hooks.c +++ b/src/Hooks.c @@ -25,15 +25,17 @@ 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/Hooks.c,v 1.3 2001/12/14 19:56:18 dawes Exp $ */ /*LINTLIBRARY*/ #include "IntrinsicI.h" +#include "CreateI.h" -static void FreeBlockHookList( widget, closure, call_data ) - Widget widget; /* unused (and invalid) */ - XtPointer closure; /* ActionHook* */ - XtPointer call_data; /* unused */ +static void FreeBlockHookList( + Widget widget, /* unused (and invalid) */ + XtPointer closure, /* ActionHook* */ + XtPointer call_data) /* unused */ { BlockHook list = *(BlockHook*)closure; while (list != NULL) { @@ -88,9 +90,10 @@ void XtRemoveBlockHook( id ) UNLOCK_APP(app); } -static void DeleteShellFromHookObj(shell, closure, call_data) - Widget shell; - XtPointer closure, call_data; +static void DeleteShellFromHookObj( + Widget shell, + XtPointer closure, + XtPointer call_data) { /* app_con is locked when this function is called */ int ii, jj; @@ -147,7 +150,6 @@ Boolean _XtIsHookObject(widget) Widget XtHooksOfDisplay(dpy) Display* dpy; { - extern Widget _XtCreateHookObj(); Widget retval; XtPerDisplay pd; DPY_TO_APPCON(dpy); -- cgit v1.2.3