summaryrefslogtreecommitdiff
path: root/lib/parsedate.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-12-08 22:50:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-12-08 22:50:55 +0000
commit662bee71930fc30ef3fe43077bf696def44c5c7b (patch)
treed9e735f57baf929da6506bd6f8eac926b9b0363b /lib/parsedate.c
parentf8172f85b1c09554fc4134c4fc972bcfe4c7a9aa (diff)
downloadcurl-662bee71930fc30ef3fe43077bf696def44c5c7b.tar.gz
All static functions that were previously name Curl_* something no longer
use that prefix as we use that prefix only for library-wide internal global symbols.
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r--lib/parsedate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index af2d4c265..0f0a18629 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -84,7 +84,7 @@
#include <curl/curl.h>
-static time_t Curl_parsedate(const char *date);
+static time_t parsedate(const char *date);
const char * const Curl_wkday[] =
{"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
@@ -223,7 +223,7 @@ enum assume {
DATE_TIME
};
-static time_t Curl_parsedate(const char *date)
+static time_t parsedate(const char *date)
{
time_t t = 0;
int wdaynum=-1; /* day of the week number, 0-6 (mon-sun) */
@@ -421,5 +421,5 @@ static time_t Curl_parsedate(const char *date)
time_t curl_getdate(const char *p, const time_t *now)
{
(void)now;
- return Curl_parsedate(p);
+ return parsedate(p);
}