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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user