summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInt.decls10
-rw-r--r--generic/tclIntDecls.h10
-rw-r--r--generic/tclIntPlatDecls.h11
3 files changed, 16 insertions, 15 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 12afb31..71434b5 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tclInt.decls,v 1.59.2.4 2004/10/14 15:28:38 dkf Exp $
+# RCS: @(#) $Id: tclInt.decls,v 1.59.2.5 2004/10/28 16:06:32 kennykb Exp $
library tcl
@@ -700,10 +700,10 @@ declare 173 generic {
# TclpGmtime and TclpLocaltime promoted to the generic interface from unix
declare 182 generic {
- struct tm *TclpLocaltime(TclpTime_t clock)
+ struct tm *TclpLocaltime(CONST TclpTime_t clock)
}
declare 183 generic {
- struct tm *TclpGmtime(TclpTime_t clock)
+ struct tm *TclpGmtime(CONST TclpTime_t clock)
}
declare 199 generic {
@@ -998,11 +998,11 @@ declare 10 unix {
# generic Stubs
declare 11 unix {
- struct tm * TclpLocaltime_unix(TclpTime_t clock)
+ struct tm * TclpLocaltime_unix(CONST TclpTime_t clock)
}
declare 12 unix {
- struct tm * TclpGmtime_unix(TclpTime_t clock)
+ struct tm * TclpGmtime_unix(CONST TclpTime_t clock)
}
declare 13 unix {
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 2ed9392..e70baf1 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.49.2.6 2004/10/14 15:30:51 dkf Exp $
+ * RCS: @(#) $Id: tclIntDecls.h,v 1.49.2.7 2004/10/28 16:06:33 kennykb Exp $
*/
#ifndef _TCLINTDECLS
@@ -512,9 +512,9 @@ EXTERN int TclUniCharMatch _ANSI_ARGS_((
/* Slot 180 is reserved */
/* Slot 181 is reserved */
/* 182 */
-EXTERN struct tm * TclpLocaltime _ANSI_ARGS_((TclpTime_t clock));
+EXTERN struct tm * TclpLocaltime _ANSI_ARGS_((CONST TclpTime_t clock));
/* 183 */
-EXTERN struct tm * TclpGmtime _ANSI_ARGS_((TclpTime_t clock));
+EXTERN struct tm * TclpGmtime _ANSI_ARGS_((CONST TclpTime_t clock));
/* Slot 184 is reserved */
/* Slot 185 is reserved */
/* Slot 186 is reserved */
@@ -743,8 +743,8 @@ typedef struct TclIntStubs {
void *reserved179;
void *reserved180;
void *reserved181;
- struct tm * (*tclpLocaltime) _ANSI_ARGS_((TclpTime_t clock)); /* 182 */
- struct tm * (*tclpGmtime) _ANSI_ARGS_((TclpTime_t clock)); /* 183 */
+ struct tm * (*tclpLocaltime) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 182 */
+ struct tm * (*tclpGmtime) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 183 */
void *reserved184;
void *reserved185;
void *reserved186;
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__