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)
commitf41268c0ed86eeafeccc4b622a2edc32837fea10 (patch)
treec92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/tclDate.c
parente2322412051ec7bb00adaec553d5c461ea4b9666 (diff)
downloadtcl-f41268c0ed86eeafeccc4b622a2edc32837fea10.zip
tcl-f41268c0ed86eeafeccc4b622a2edc32837fea10.tar.gz
tcl-f41268c0ed86eeafeccc4b622a2edc32837fea10.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)
{
}