From e53e67e2287b111af25387edf8bff381be3be252 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 17:50:52 +0000 Subject: Some warnings go away --- libc/misc/time/time.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/misc/time') diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index b6dce44ea..84f201d44 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -475,21 +475,21 @@ clock_t clock(void) /**********************************************************************/ #ifdef L_ctime -char *ctime(const time_t *clock) +char *ctime(const time_t *t) { /* ANSI/ISO/SUSv3 say that ctime is equivalent to the following. */ - return asctime(localtime(clock)); + return asctime(localtime(t)); } libc_hidden_def(ctime) #endif /**********************************************************************/ #ifdef L_ctime_r -char *ctime_r(const time_t *clock, char *buf) +char *ctime_r(const time_t *t, char *buf) { struct tm xtm; - return asctime_r(localtime_r(clock, &xtm), buf); + return asctime_r(localtime_r(t, &xtm), buf); } #endif -- cgit v1.2.3