summaryrefslogtreecommitdiff
path: root/src/Hooks.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:39 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:39 +0000
commitb90c05162b5edd08338a060f5777419654fa6d2e (patch)
tree346b8c7439d7d8db30404ad9f4db4c4e1725c252 /src/Hooks.c
parenta6bdd56c5b098599942e4091ae7e2af2d4631b44 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
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);
}