diff options
author | kennykb <kennykb@noemail.net> | 2004-10-28 16:06:30 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2004-10-28 16:06:30 (GMT) |
commit | 4f1e2cbf7f97cee0ae349065f0c1ac0734c52ad3 (patch) | |
tree | fa5e94f8a83450fe3df0bb0bb427b9b66aba15f6 /generic/tclIntPlatDecls.h | |
parent | a62b7e616df08f8721354b207e6f16a24ea09030 (diff) | |
download | tcl-4f1e2cbf7f97cee0ae349065f0c1ac0734c52ad3.zip tcl-4f1e2cbf7f97cee0ae349065f0c1ac0734c52ad3.tar.gz tcl-4f1e2cbf7f97cee0ae349065f0c1ac0734c52ad3.tar.bz2 |
added CONST to TclpLocaltime and TclpGmtime param throughout
FossilOrigin-Name: d3a95fedcf2ad46a35b1d719f1c4e6ffa1179c42
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r-- | generic/tclIntPlatDecls.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h index 8ced1c1..e5a3ca0 100644 --- a/generic/tclIntPlatDecls.h +++ b/generic/tclIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.19.2.5 2004/06/10 17:17:44 andreas_kupries Exp $ + * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.19.2.6 2004/10/28 16:06:49 kennykb Exp $ */ #ifndef _TCLINTPLATDECLS @@ -62,9 +62,10 @@ EXTERN TclFile TclpCreateTempFile _ANSI_ARGS_(( /* 10 */ EXTERN Tcl_DirEntry * TclpReaddir _ANSI_ARGS_((DIR * dir)); /* 11 */ -EXTERN struct tm * TclpLocaltime_unix _ANSI_ARGS_((TclpTime_t clock)); +EXTERN struct tm * TclpLocaltime_unix _ANSI_ARGS_(( + CONST TclpTime_t clock)); /* 12 */ -EXTERN struct tm * TclpGmtime_unix _ANSI_ARGS_((TclpTime_t clock)); +EXTERN struct tm * TclpGmtime_unix _ANSI_ARGS_((CONST TclpTime_t clock)); /* 13 */ EXTERN char * TclpInetNtoa _ANSI_ARGS_((struct in_addr addr)); #endif /* UNIX */ @@ -232,8 +233,8 @@ typedef struct TclIntPlatStubs { int (*tclUnixWaitForFile) _ANSI_ARGS_((int fd, int mask, int timeout)); /* 8 */ TclFile (*tclpCreateTempFile) _ANSI_ARGS_((CONST char * contents)); /* 9 */ Tcl_DirEntry * (*tclpReaddir) _ANSI_ARGS_((DIR * dir)); /* 10 */ - struct tm * (*tclpLocaltime_unix) _ANSI_ARGS_((TclpTime_t clock)); /* 11 */ - struct tm * (*tclpGmtime_unix) _ANSI_ARGS_((TclpTime_t clock)); /* 12 */ + struct tm * (*tclpLocaltime_unix) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 11 */ + struct tm * (*tclpGmtime_unix) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 12 */ char * (*tclpInetNtoa) _ANSI_ARGS_((struct in_addr addr)); /* 13 */ #endif /* UNIX */ #ifdef __WIN32__ |