diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-25 13:46:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-25 13:46:04 (GMT) |
commit | 6600288ed7106cca316a8c7c8bcfabecf5cb7d8e (patch) | |
tree | 294cf4b269573839f221e46ebfc99e8a14e8bdc1 /unix | |
parent | 0adb400e9b97468fab3726f7a6d3e9b5cab9398a (diff) | |
parent | 7f62526237f1fbba269a64a7a4c8a369d7b5e388 (diff) | |
download | tcl-6600288ed7106cca316a8c7c8bcfabecf5cb7d8e.zip tcl-6600288ed7106cca316a8c7c8bcfabecf5cb7d8e.tar.gz tcl-6600288ed7106cca316a8c7c8bcfabecf5cb7d8e.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.c | 28 |
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); -} /* *---------------------------------------------------------------------- |