diff options
Diffstat (limited to 'src/ActionHook.c')
-rw-r--r-- | src/ActionHook.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ActionHook.c b/src/ActionHook.c index 32aca9c..2845fed 100644 --- a/src/ActionHook.c +++ b/src/ActionHook.c @@ -8,13 +8,13 @@ Copyright 1993 by Sun Microsystems, Inc. Mountain View, CA. All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or Sun not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL @@ -84,10 +84,10 @@ static void FreeActionHookList( } -XtActionHookId XtAppAddActionHook( app, proc, closure ) - XtAppContext app; - XtActionHookProc proc; - XtPointer closure; +XtActionHookId XtAppAddActionHook( + XtAppContext app, + XtActionHookProc proc, + XtPointer closure) { ActionHook hook = XtNew(ActionHookRec); LOCK_APP(app); @@ -107,8 +107,8 @@ XtActionHookId XtAppAddActionHook( app, proc, closure ) } -void XtRemoveActionHook( id ) - XtActionHookId id; +void XtRemoveActionHook( + XtActionHookId id) { ActionHook *p, hook = (ActionHook)id; XtAppContext app = hook->app; |