summaryrefslogtreecommitdiff
path: root/src/Hooks.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:16 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:16 +0000
commitf81d7ef72c9b4f13e33efa812bed9446657ed003 (patch)
tree183442a515d232d4d88cb56d6de651c215731c3f /src/Hooks.c
parentbdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16
Diffstat (limited to 'src/Hooks.c')
-rw-r--r--src/Hooks.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Hooks.c b/src/Hooks.c
index ad4cc19..71f9ab0 100644
--- a/src/Hooks.c
+++ b/src/Hooks.c
@@ -25,7 +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/Hooks.c,v 1.3 2001/12/14 19:56:18 dawes Exp $ */
+/* $XFree86: xc/lib/Xt/Hooks.c,v 1.4 2003/04/21 16:34:27 herrb Exp $ */
/*LINTLIBRARY*/
@@ -113,13 +113,8 @@ static void DeleteShellFromHookObj(
#define SHELL_INCR 4
-#if NeedFunctionPrototypes
void _XtAddShellToHookObj(
Widget shell)
-#else
-void _XtAddShellToHookObj(shell)
- Widget shell;
-#endif
{
/* app_con is locked when this function is called */
HookObject ho = (HookObject) XtHooksOfDisplay(XtDisplay(shell));
@@ -136,13 +131,8 @@ void _XtAddShellToHookObj(shell)
(XtPointer)ho);
}
-#if NeedFunctionPrototypes
Boolean _XtIsHookObject(
Widget widget)
-#else
-Boolean _XtIsHookObject(widget)
- Widget widget;
-#endif
{
return (widget->core.widget_class == hookObjectClass);
}