summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2007-04-21 19:52:12 (GMT)
committerKevin B Kenny <kennykb@acm.org>2007-04-21 19:52:12 (GMT)
commit28e10d16ff23e12b9d930dcc0a73140af1265d93 (patch)
tree385a4c1bcb6c38cfebf2b69a1d8c73e24eb9ee8c /unix/tclUnixTime.c
parent9001e4a12a8cb6226719049f272585d73ca82f54 (diff)
downloadtcl-28e10d16ff23e12b9d930dcc0a73140af1265d93.zip
tcl-28e10d16ff23e12b9d930dcc0a73140af1265d93.tar.gz
tcl-28e10d16ff23e12b9d930dcc0a73140af1265d93.tar.bz2
* generic/tclInt.decls: Yet another round of attempting
* generic/tclInt.h: to get the correct type signature * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime. * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST' * win/tclWinTime.c: and not a 'CONST time_t*'! * generic/tclIntDecls.h: [Bug 1677275] * generic/tclIntPlatDecls.h: Regenerated.
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index b7ef888..e4ac865 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.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: tclUnixTime.c,v 1.15.2.5 2007/03/19 17:06:26 dgp Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.15.2.6 2007/04/21 19:52:15 kennykb Exp $
*/
#include "tclInt.h"
@@ -344,7 +344,7 @@ TclpStrftime(s, maxsize, format, t, useGMT)
struct tm *
TclpGmtime( tt )
- CONST TclpTime_t tt;
+ TclpTime_t_CONST tt;
{
CONST time_t *timePtr = (CONST time_t *) tt;
/* Pointer to the number of seconds
@@ -371,7 +371,7 @@ TclpGmtime( tt )
*/
struct tm*
TclpGmtime_unix( timePtr )
- CONST TclpTime_t timePtr;
+ TclpTime_t_CONST timePtr;
{
return TclpGmtime( timePtr );
}
@@ -395,7 +395,7 @@ TclpGmtime_unix( timePtr )
struct tm *
TclpLocaltime( tt )
- CONST TclpTime_t tt;
+ TclpTime_t_CONST tt;
{
CONST time_t *timePtr = (CONST time_t *) tt;
/* Pointer to the number of seconds
@@ -422,7 +422,7 @@ TclpLocaltime( tt )
*/
struct tm*
TclpLocaltime_unix( timePtr )
- CONST TclpTime_t timePtr;
+ TclpTime_t_CONST timePtr;
{
return TclpLocaltime( timePtr );
}