diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-11-06 16:20:04 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-11-06 16:20:04 +0000 |
commit | caf880be181a9a4f3b03cff8c21b5bdba75b67b0 (patch) | |
tree | edde8aa7adb4d448dd1f590e0bc47a321d2a1b15 /lib/parsedate.c | |
parent | c8355c27e996b936ae5940c81cc6d06014b65104 (diff) | |
download | curl-caf880be181a9a4f3b03cff8c21b5bdba75b67b0.tar.gz |
Constified from arguments.
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r-- | lib/parsedate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c index ef91585e5..5dd6c6ef7 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -154,7 +154,7 @@ static const struct tzinfo tz[]= { 0 monday - 6 sunday */ -static int checkday(char *check, size_t len) +static int checkday(const char *check, size_t len) { int i; const char * const *what; @@ -173,7 +173,7 @@ static int checkday(char *check, size_t len) return found?i:-1; } -static int checkmonth(char *check) +static int checkmonth(const char *check) { int i; const char * const *what; @@ -193,7 +193,7 @@ static int checkmonth(char *check) /* return the time zone offset between GMT and the input one, in number of seconds or -1 if the timezone wasn't found/legal */ -static int checktz(char *check) +static int checktz(const char *check) { unsigned int i; const struct tzinfo *what; |