"Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur",
};
-int mk_date (const char *, struct rtc_time *);
+static int mk_date(const char *, struct rtc_time *);
static struct rtc_time default_tm = { 0, 0, 0, 1, 1, 2000, 6, 0, 0 };
* Some basic checking for valid values is done, but this will not catch
* all possible error conditions.
*/
-int mk_date (const char *datestr, struct rtc_time *tmp)
+static int mk_date(const char *datestr, struct rtc_time *tmp)
{
int len, val;
char *ptr;