summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-10-28 16:06:30 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-10-28 16:06:30 (GMT)
commitf68d81c4423729776922307ed11d205dc99c1bd8 (patch)
treefa5e94f8a83450fe3df0bb0bb427b9b66aba15f6 /unix/tclUnixTime.c
parent3240eaec2cb30b8be08894a6df022b1c530ac0dd (diff)
downloadtcl-f68d81c4423729776922307ed11d205dc99c1bd8.zip
tcl-f68d81c4423729776922307ed11d205dc99c1bd8.tar.gz
tcl-f68d81c4423729776922307ed11d205dc99c1bd8.tar.bz2
added CONST to TclpLocaltime and TclpGmtime param throughout
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 47492e9..0e0268f 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.2 2004/05/17 14:26:50 kennykb Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.15.2.3 2004/10/28 16:06:50 kennykb Exp $
*/
#include "tclInt.h"
@@ -344,7 +344,7 @@ TclpStrftime(s, maxsize, format, t, useGMT)
struct tm *
TclpGmtime( tt )
- TclpTime_t tt;
+ CONST TclpTime_t 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 )
- TclpTime_t timePtr;
+ CONST TclpTime_t timePtr;
{
return TclpGmtime( timePtr );
}
@@ -395,7 +395,7 @@ TclpGmtime_unix( timePtr )
struct tm *
TclpLocaltime( tt )
- TclpTime_t tt;
+ CONST TclpTime_t 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 )
- TclpTime_t timePtr;
+ CONST TclpTime_t timePtr;
{
return TclpLocaltime( timePtr );
}