summaryrefslogtreecommitdiff
path: root/src/Hooks.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
commitbdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (patch)
treee0a23167aca0fb1127f4cd78edf458b633b31eac /src/Hooks.c
parent6a13c9e08bb042c81ae904c44a38a50d785c824e (diff)
Diffstat (limited to 'src/Hooks.c')
-rw-r--r--src/Hooks.c18
1 files changed, 10 insertions, 8 deletions
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);