diff options
| author | Kevin B Kenny <kennykb@acm.org> | 2004-10-28 16:06:30 (GMT) | 
|---|---|---|
| committer | Kevin B Kenny <kennykb@acm.org> | 2004-10-28 16:06:30 (GMT) | 
| commit | 61617a7891a8266415ac5a14e6dce92693e10c5c (patch) | |
| tree | fa5e94f8a83450fe3df0bb0bb427b9b66aba15f6 /unix/tclUnixTime.c | |
| parent | edd30d9489db089dcc47c6110335a1cee9bc6ed5 (diff) | |
| download | tcl-61617a7891a8266415ac5a14e6dce92693e10c5c.zip tcl-61617a7891a8266415ac5a14e6dce92693e10c5c.tar.gz tcl-61617a7891a8266415ac5a14e6dce92693e10c5c.tar.bz2 | |
added CONST to TclpLocaltime and TclpGmtime param throughout
Diffstat (limited to 'unix/tclUnixTime.c')
| -rw-r--r-- | unix/tclUnixTime.c | 10 | 
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 );  } | 
