summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-25 13:46:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-25 13:46:04 (GMT)
commit273e2bf1be13dfe8723534fd320115ae347fb1da (patch)
tree294cf4b269573839f221e46ebfc99e8a14e8bdc1 /unix
parent140f00c9c6c7d8ed4c169f50aac8a9f11a8ef214 (diff)
parent94f7f25a26dfb0f41665539c100091a24c299744 (diff)
downloadtcl-273e2bf1be13dfe8723534fd320115ae347fb1da.zip
tcl-273e2bf1be13dfe8723534fd320115ae347fb1da.tar.gz
tcl-273e2bf1be13dfe8723534fd320115ae347fb1da.tar.bz2
fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"
Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directly Some more void -> VOID transitions
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixTime.c28
1 files changed, 4 insertions, 24 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index cf730a2..b98f2e1 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -62,7 +62,7 @@ Tcl_ScaleTimeProc *tclScaleTimeProcPtr = NativeScaleTime;
ClientData tclTimeClientData = NULL;
/*
- *-----------------------------------------------------------------------------
+ *----------------------------------------------------------------------
*
* TclpGetSeconds --
*
@@ -75,7 +75,7 @@ ClientData tclTimeClientData = NULL;
* Side effects:
* None.
*
- *-----------------------------------------------------------------------------
+ *----------------------------------------------------------------------
*/
unsigned long
@@ -85,7 +85,7 @@ TclpGetSeconds(void)
}
/*
- *-----------------------------------------------------------------------------
+ *----------------------------------------------------------------------
*
* TclpGetClicks --
*
@@ -100,7 +100,7 @@ TclpGetSeconds(void)
* Side effects:
* None.
*
- *-----------------------------------------------------------------------------
+ *----------------------------------------------------------------------
*/
unsigned long
@@ -431,17 +431,6 @@ TclpGmtime(
return &(tsdPtr->gmtime_buf);
}
-
-/*
- * Forwarder for obsolete item in Stubs
- */
-
-struct tm *
-TclpGmtime_unix(
- CONST time_t *timePtr)
-{
- return TclpGmtime(timePtr);
-}
/*
*----------------------------------------------------------------------
@@ -482,15 +471,6 @@ TclpLocaltime(
return &(tsdPtr->localtime_buf);
}
-/*
- * Forwarder for obsolete item in Stubs
- */
-struct tm*
-TclpLocaltime_unix(
- CONST time_t *timePtr)
-{
- return TclpLocaltime(timePtr);
-}
/*
*----------------------------------------------------------------------