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;
return found?i:-1;
}
-static int checkmonth(char *check)
+static int checkmonth(const char *check)
{
int i;
const char * const *what;
/* 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;