summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-16 22:34:18 (GMT)
committernijtmans <nijtmans>2008-10-16 22:34:18 (GMT)
commit8b464633a0f2df93912ad25af65a5724cd643da2 (patch)
treec92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/tclDate.c
parent2b0bd4b76e50ee9f511c827309e0078efc6f537a (diff)
downloadtcl-8b464633a0f2df93912ad25af65a5724cd643da2.zip
tcl-8b464633a0f2df93912ad25af65a5724cd643da2.tar.gz
tcl-8b464633a0f2df93912ad25af65a5724cd643da2.tar.bz2
Add "const" to many internal
const tables. No functional or API change.
Diffstat (limited to 'generic/tclDate.c')
-rw-r--r--generic/tclDate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index 2b0636b..eabd37a 100644
--- a/generic/tclDate.c
+++ b/generic/tclDate.c
@@ -235,7 +235,7 @@ typedef struct DateInfo {
*/
typedef struct _TABLE {
- char *name;
+ const char *name;
int type;
time_t value;
} TABLE;
@@ -261,7 +261,7 @@ typedef enum _MERIDIAN {
*/
static int LookupWord(char *buff);
-static void TclDateerror(char *s);
+static void TclDateerror(const char *s);
static int TclDatelex(void *info);
static time_t ToSeconds(time_t Hours, time_t Minutes,
time_t Seconds, MERIDIAN Meridian);
@@ -2451,7 +2451,7 @@ static TABLE MilitaryTable[] = {
static void
TclDateerror(
- char *s)
+ const char *s)
{
}