diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-16 12:02:11 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-16 12:02:11 (GMT) |
| commit | fd5b3bb08521fc081f6dfbe853b40422402d3501 (patch) | |
| tree | 5105b6b8d9f9e3c3ce5e6084e8d8644f4818067c /unix | |
| parent | 2fda7e49a0d6329b4f0374de4a715e85b012b8b5 (diff) | |
| parent | adb756a95adb5697297f97677369b4508bf1ea16 (diff) | |
| download | tcl-fd5b3bb08521fc081f6dfbe853b40422402d3501.zip tcl-fd5b3bb08521fc081f6dfbe853b40422402d3501.tar.gz tcl-fd5b3bb08521fc081f6dfbe853b40422402d3501.tar.bz2 | |
eliminate CONST/CONST84/CONST86
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclXtNotify.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/unix/tclXtNotify.c b/unix/tclXtNotify.c index 50eb4a2..e289e8c 100644 --- a/unix/tclXtNotify.c +++ b/unix/tclXtNotify.c @@ -16,9 +16,6 @@ #include <X11/Intrinsic.h> #include "tclInt.h" -#ifndef CONST86 -# define CONST86 -#endif /* * This structure is used to keep track of the notifier info for a a * registered file. @@ -87,8 +84,8 @@ static void TimerProc(ClientData clientData, XtIntervalId *id); static void CreateFileHandler(int fd, int mask, Tcl_FileProc *proc, ClientData clientData); static void DeleteFileHandler(int fd); -static void SetTimer(CONST86 Tcl_Time * timePtr); -static int WaitForEvent(CONST86 Tcl_Time * timePtr); +static void SetTimer(const Tcl_Time * timePtr); +static int WaitForEvent(const Tcl_Time * timePtr); /* * Functions defined in this file for use by users of the Xt Notifier: @@ -265,7 +262,7 @@ NotifierExitHandler( static void SetTimer( - CONST86 Tcl_Time *timePtr) /* Timeout value, may be NULL. */ + const Tcl_Time *timePtr) /* Timeout value, may be NULL. */ { long timeout; @@ -629,7 +626,7 @@ FileHandlerEventProc( static int WaitForEvent( - CONST86 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ + const Tcl_Time *timePtr) /* Maximum block time, or NULL. */ { int timeout; |
