diff options
author | dkf <dkf@noemail.net> | 2005-11-02 23:26:50 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-11-02 23:26:50 (GMT) |
commit | c09c366ce76e729eabb8ba1cec8b07ee7445a535 (patch) | |
tree | 15d43100f7a20ffbfa2b2c98286c806751685a1e /unix/tclXtNotify.c | |
parent | 942a73cd1306f36e4d1b0c2f1130f71fe952b758 (diff) | |
download | tcl-c09c366ce76e729eabb8ba1cec8b07ee7445a535.zip tcl-c09c366ce76e729eabb8ba1cec8b07ee7445a535.tar.gz tcl-c09c366ce76e729eabb8ba1cec8b07ee7445a535.tar.bz2 |
ANSIfy
FossilOrigin-Name: 19a0a6a899f2e83e5c3001676d0900edd861fee2
Diffstat (limited to 'unix/tclXtNotify.c')
-rw-r--r-- | unix/tclXtNotify.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/unix/tclXtNotify.c b/unix/tclXtNotify.c index 05b854e..3a8a749 100644 --- a/unix/tclXtNotify.c +++ b/unix/tclXtNotify.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclXtNotify.c,v 1.7 2005/07/24 22:56:45 dkf Exp $ + * RCS: @(#) $Id: tclXtNotify.c,v 1.8 2005/11/02 23:26:50 dkf Exp $ */ #include <X11/Intrinsic.h> @@ -75,26 +75,23 @@ static int initialized = 0; * Static routines defined in this file. */ -static int FileHandlerEventProc _ANSI_ARGS_((Tcl_Event *evPtr, - int flags)); -static void FileProc _ANSI_ARGS_((caddr_t clientData, - int *source, XtInputId *id)); -void InitNotifier _ANSI_ARGS_((void)); -static void NotifierExitHandler _ANSI_ARGS_(( - ClientData clientData)); -static void TimerProc _ANSI_ARGS_((caddr_t clientData, - XtIntervalId *id)); -static void CreateFileHandler _ANSI_ARGS_((int fd, int mask, - Tcl_FileProc * proc, ClientData clientData)); -static void DeleteFileHandler _ANSI_ARGS_((int fd)); -static void SetTimer _ANSI_ARGS_((Tcl_Time * timePtr)); -static int WaitForEvent _ANSI_ARGS_((Tcl_Time * timePtr)); +static int FileHandlerEventProc(Tcl_Event *evPtr, int flags); +static void FileProc(caddr_t clientData, int *source, + XtInputId *id); +void InitNotifier(void); +static void NotifierExitHandler(ClientData clientData); +static void TimerProc(caddr_t clientData, XtIntervalId *id); +static void CreateFileHandler(int fd, int mask, + Tcl_FileProc * proc, ClientData clientData); +static void DeleteFileHandler(int fd); +static void SetTimer(Tcl_Time * timePtr); +static int WaitForEvent(Tcl_Time * timePtr); /* * Functions defined in this file for use by users of the Xt Notifier: */ -EXTERN XtAppContext TclSetAppContext _ANSI_ARGS_((XtAppContext ctx)); +EXTERN XtAppContext TclSetAppContext(XtAppContext ctx); /* *---------------------------------------------------------------------- |