summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-05-17 14:26:31 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-05-17 14:26:31 (GMT)
commit8766610e300113748a8573b3c1460d0e1bc290de (patch)
tree636791149a751acb57bd43a77003dc5fe427a49f /win
parent968dc28ac11aed57f46489d6182f3942666eec9e (diff)
downloadtcl-8766610e300113748a8573b3c1460d0e1bc290de.zip
tcl-8766610e300113748a8573b3c1460d0e1bc290de.tar.gz
tcl-8766610e300113748a8573b3c1460d0e1bc290de.tar.bz2
* generic/tclInt.decls: Restored TclpTime_t kludge to all
* generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
Diffstat (limited to 'win')
-rw-r--r--win/tclWinTime.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 539dd6c..faa7a3c 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinTime.c,v 1.14.2.3 2004/05/14 21:41:12 kennykb Exp $
+ * RCS: @(#) $Id: tclWinTime.c,v 1.14.2.4 2004/05/17 14:26:50 kennykb Exp $
*/
#include "tclWinInt.h"
@@ -1072,11 +1072,12 @@ AccumulateSample( Tcl_WideInt perfCounter,
*/
struct tm *
-TclpGmtime( timePtr )
- CONST time_t *timePtr; /* Pointer to the number of seconds
- * since the local system's epoch */
-
+TclpGmtime( tt )
+ TclpTime_t tt;
{
+ CONST time_t *timePtr = (CONST time_t *) tt;
+ /* Pointer to the number of seconds
+ * since the local system's epoch */
/*
* The MS implementation of gmtime is thread safe because
* it returns the time in a block of thread-local storage,
@@ -1103,11 +1104,13 @@ TclpGmtime( timePtr )
*/
struct tm *
-TclpLocaltime( timePtr )
- CONST time_t *timePtr; /* Pointer to the number of seconds
+TclpLocaltime( tt )
+ TclpTime_t tt;
+{
+ CONST time_t *timePtr = (CONST time_t *) tt;
+ /* Pointer to the number of seconds
* since the local system's epoch */
-{
/*
* The MS implementation of localtime is thread safe because
* it returns the time in a block of thread-local storage,