summaryrefslogtreecommitdiff
path: root/time/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/localtime.c')
-rw-r--r--time/localtime.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/time/localtime.c b/time/localtime.c
index 38f3123d9a..14b6854207 100644
--- a/time/localtime.c
+++ b/time/localtime.c
@@ -25,9 +25,7 @@ struct tm _tmbuf;
/* Return the `struct tm' representation of *T in local time,
using *TP to store the result. */
struct tm *
-__localtime_r (t, tp)
- const time_t *t;
- struct tm *tp;
+__localtime_r (const time_t *t, struct tm *tp)
{
return __tz_convert (t, 1, tp);
}
@@ -36,8 +34,7 @@ weak_alias (__localtime_r, localtime_r)
/* Return the `struct tm' representation of *T in local time. */
struct tm *
-localtime (t)
- const time_t *t;
+localtime (const time_t *t)
{
return __tz_convert (t, 1, &_tmbuf);
}