diff options
author | stanton <stanton> | 1999-03-04 00:58:26 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-03-04 00:58:26 (GMT) |
commit | 27b44243dd6de0bf7f1aa0bb831d41b7b41f4a2a (patch) | |
tree | 822d6380276c0a2ae924446f816403d0176a89af /win/tclWinTime.c | |
parent | 0f95a59075710ed4b5a19a6be5fc8b879cae8103 (diff) | |
download | tcl-27b44243dd6de0bf7f1aa0bb831d41b7b41f4a2a.zip tcl-27b44243dd6de0bf7f1aa0bb831d41b7b41f4a2a.tar.gz tcl-27b44243dd6de0bf7f1aa0bb831d41b7b41f4a2a.tar.bz2 |
* unix/tclUnixTime.c: Added TclpGetDate and TclStrftime.
* win/tclWinTime.c:
* unix/tclUnixTime.c:
* mac/tclMacTime.c:
* generic/tclDate.c:
* generic/tclClock.c: Created a new opaque TclpTime_t type so
generic functions that depend on the format of time_t can appear
in the generic header files.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c index 089a057..48b6e1a 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.2 1998/09/14 18:40:20 stanton Exp $ + * RCS: @(#) $Id: tclWinTime.c,v 1.2.4.1 1999/03/04 00:58:27 stanton Exp $ */ #include "tclInt.h" @@ -191,10 +191,12 @@ TclpGetTZName() */ struct tm * -TclpGetDate(tp, useGMT) - const time_t *tp; +TclpGetDate(t, useGMT) + TclpTime_t t; int useGMT; { + const time_t *tp = (const time_t *) t; + struct tm *tmPtr; long time; |