summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-19 22:23:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-19 22:23:08 (GMT)
commitc96b49ed88b11232f11d79f859e6b62418c5c10a (patch)
tree3127a144602ef0cb05795cd722659052d0388891 /unix
parent9d8f556865a0a282039621759755c0cf44664039 (diff)
parent094f23c172acca8f32b0888cd536f01fc1daab1b (diff)
downloadtcl-c96b49ed88b11232f11d79f859e6b62418c5c10a.zip
tcl-c96b49ed88b11232f11d79f859e6b62418c5c10a.tar.gz
tcl-c96b49ed88b11232f11d79f859e6b62418c5c10a.tar.bz2
merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tclXtNotify.c11
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;