diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/getdate.c | 2 | ||||
-rw-r--r-- | time/time.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/time/getdate.c b/time/getdate.c index 305e7d9..8e15af9 100644 --- a/time/getdate.c +++ b/time/getdate.c @@ -219,7 +219,7 @@ __getdate_r (const char *string, struct tm *tp) return 7; /* Get current time. */ - timer = time (NULL); + timer = time_now (); __localtime_r (&timer, &tm); /* If only the weekday is given, today is assumed if the given day diff --git a/time/time.c b/time/time.c index e6e5eef..58aac30 100644 --- a/time/time.c +++ b/time/time.c @@ -29,4 +29,3 @@ time (time_t *timer) *timer = ts.tv_sec; return ts.tv_sec; } -libc_hidden_def (time) |