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 /generic/tclIntPlatDecls.h | |
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 '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__ |