From bf52e68d687a9ea8966c6050146de627c4553ecb Mon Sep 17 00:00:00 2001 From: Craig Small Date: Wed, 11 Mar 1998 23:29:16 +0000 Subject: linked into gtkcalendar widget svn path=/trunk/; revision=66 --- calendar/calcs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/calcs.c') diff --git a/calendar/calcs.c b/calendar/calcs.c index 2797a31d6c..d6150f7b35 100644 --- a/calendar/calcs.c +++ b/calendar/calcs.c @@ -125,7 +125,7 @@ int month_atoi(const char *string) { int i; for (i = MONTH_MIN; i <= MONTH_MAX; i++) - if (strcasecmp(string, (char *)month_name(i)) == 0) + if (strcasecmp(string, (char *)get_month_name(i)) == 0) return i; return 0; } @@ -134,7 +134,7 @@ int day_atoi(const char *string) { int i; for (i = DAY_MIN; i <= DAY_MAX; i++) - if (strcasecmp(string, (char *)day_name(i)) == 0) + if (strcasecmp(string, (char *)get_day_name(i)) == 0) return i; return 0; } @@ -182,7 +182,7 @@ const char *short_day_name(const int day) /* * Returns the complete name of the day */ -const char *day_name(const int day) +const char *get_day_name(const int day) { static const char *name[]={"invalid day", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}; @@ -202,7 +202,7 @@ const char *short_month_name(const int month) /* * Returns the name of the month */ -const char *month_name(const int month) +const char *get_month_name(const int month) { static const char *name[]={ "invalid month", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; -- cgit v1.2.3