diff options
Diffstat (limited to 'lib/getdate.c')
-rw-r--r-- | lib/getdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getdate.c b/lib/getdate.c index 021ed851d..75efdcfb6 100644 --- a/lib/getdate.c +++ b/lib/getdate.c @@ -1864,7 +1864,7 @@ difftm (struct tm *a, struct tm *b) } time_t -get_date (const char *p, const time_t *now) +curl_getdate (const char *p, const time_t *now) { struct tm tm, tm0, *tmp; time_t Start; @@ -1998,7 +1998,7 @@ main (ac, av) buff[MAX_BUFF_LEN] = 0; while (fgets (buff, MAX_BUFF_LEN, stdin) && buff[0]) { - d = get_date (buff, (time_t *) NULL); + d = curl_getdate (buff, (time_t *) NULL); if (d == -1) (void) printf ("Bad format - couldn't convert.\n"); else |