summaryrefslogtreecommitdiff
path: root/src/Hooks.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/Hooks.c
parent6a13c9e08bb042c81ae904c44a38a50d785c824e (diff)
merge XFree86 4.3.0.1 to -CURRENT
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);