summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-27 17:50:52 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-27 17:50:52 +0000
commite53e67e2287b111af25387edf8bff381be3be252 (patch)
tree693096dd892afafaa6bef9feef8cb07485038cf8 /libc/misc/time
parentddbbc1dfe53a6d7de69d648a5073c8f812832b11 (diff)
Some warnings go away
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/time.c8
1 files changed, 4 insertions, 4 deletions
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