diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-09-13 20:49:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-09-13 20:49:27 +0000 |
commit | adbe3eefb61b3dd75ab1a5823b8527097ad5a528 (patch) | |
tree | e83a7dd3fb37a7aa055c526db039e2f30ba074d7 /lib/parsedate.c | |
parent | 33f69c0546ac56f616d98c2a43170a67d8840f4c (diff) |
and moved back the month array to a static one since the ftp code won't need
it anymore
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r-- | lib/parsedate.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c index 165272f0e..a9fa982bf 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -84,15 +84,13 @@ #include <curl/curl.h> -#include "parsedate.h" - static time_t Curl_parsedate(const char *date); static const char *wkday[] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"}; static const char *weekday[] = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }; -const char *Curl_month[]= { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", - "Aug", "Sep", "Oct", "Nov", "Dec" }; +static const char *month[]= { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", + "Aug", "Sep", "Oct", "Nov", "Dec" }; struct tzinfo { const char *name; @@ -177,7 +175,7 @@ static int checkmonth(char *check) const char **what; bool found= FALSE; - what = &Curl_month[0]; + what = &month[0]; for(i=0; i<12; i++) { if(curl_strequal(check, what[0])) { found=TRUE; |