diff options
author | rmax <rmax> | 2004-03-18 18:50:40 (GMT) |
---|---|---|
committer | rmax <rmax> | 2004-03-18 18:50:40 (GMT) |
commit | 767d68ec6d958a72ef767196d7efbd8d9b9f387d (patch) | |
tree | 5d8026ffcf76cb43e1021ee0e1608d10ce7b8c2b /generic/tclIntDecls.h | |
parent | ffa58c2b26dfdfa393cbd383ce80469028c497c1 (diff) | |
download | tcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.zip tcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.tar.gz tcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.tar.bz2 |
* generic/tclIntDecls.h: Removed TclpTime_t. It wasn't really needed,
* generic/tclInt.h: but caused warnings related to
* generic/tclInt.decls: strict aliasing with GCC 3.3.
* generic/tclClock.c:
* generic/tclDate.c:
* generic/tclGetDate.y:
* win/tclWinTime.c:
* unix/tclUnixTime.c:
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index cc160d2..c46e389 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIntDecls.h,v 1.57 2004/03/17 18:14:13 das Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.58 2004/03/18 18:54:42 rmax Exp $ */ #ifndef _TCLINTDECLS @@ -691,7 +691,7 @@ EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp * interp)); #ifndef TclpGetDate_TCL_DECLARED #define TclpGetDate_TCL_DECLARED /* 133 */ -EXTERN struct tm * TclpGetDate _ANSI_ARGS_((TclpTime_t time, int useGMT)); +EXTERN struct tm * TclpGetDate _ANSI_ARGS_((CONST time_t *time, int useGMT)); #endif #ifndef TclpStrftime_TCL_DECLARED #define TclpStrftime_TCL_DECLARED @@ -1104,7 +1104,7 @@ typedef struct TclIntStubs { int (*tcl_RemoveInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name)); /* 130 */ void (*tcl_SetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 131 */ int (*tclpHasSockets) _ANSI_ARGS_((Tcl_Interp * interp)); /* 132 */ - struct tm * (*tclpGetDate) _ANSI_ARGS_((TclpTime_t time, int useGMT)); /* 133 */ + struct tm * (*tclpGetDate) _ANSI_ARGS_((CONST time_t *time, int useGMT)); /* 133 */ size_t (*tclpStrftime) _ANSI_ARGS_((char * s, size_t maxsize, CONST char * format, CONST struct tm * t, int useGMT)); /* 134 */ void *reserved135; void *reserved136; |