summaryrefslogtreecommitdiffstats
path: root/unix/tclXtNotify.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-16 22:51:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-16 22:51:18 (GMT)
commit809f3d7568286e5221fdc48fecf9ad9b5c5b1173 (patch)
treebe5a399ed574820d42a50aa0bc73bf00f69ded73 /unix/tclXtNotify.c
parent5bf41fe2eb79370375e30562f224f88cb98b33a5 (diff)
parent2bf2abcb4f1c88fbddc3ce4d5800c438851aaf95 (diff)
downloadtcl-809f3d7568286e5221fdc48fecf9ad9b5c5b1173.zip
tcl-809f3d7568286e5221fdc48fecf9ad9b5c5b1173.tar.gz
tcl-809f3d7568286e5221fdc48fecf9ad9b5c5b1173.tar.bz2
merge trunk
Diffstat (limited to 'unix/tclXtNotify.c')
-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;