diff options
Diffstat (limited to 'lib/getdate.y')
-rw-r--r-- | lib/getdate.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index efcf04255..80f10120c 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -914,7 +914,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; @@ -1048,7 +1048,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 |