summaryrefslogtreecommitdiff
path: root/time/gmtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/gmtime.c')
-rw-r--r--time/gmtime.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/time/gmtime.c b/time/gmtime.c
index 60ac207b63..ae18c8c30c 100644
--- a/time/gmtime.c
+++ b/time/gmtime.c
@@ -21,9 +21,7 @@
/* Return the `struct tm' representation of *T in UTC,
using *TP to store the result. */
struct tm *
-__gmtime_r (t, tp)
- const time_t *t;
- struct tm *tp;
+__gmtime_r (const time_t *t, struct tm *tp)
{
return __tz_convert (t, 0, tp);
}
@@ -33,8 +31,7 @@ weak_alias (__gmtime_r, gmtime_r)
/* Return the `struct tm' representation of *T in UTC. */
struct tm *
-gmtime (t)
- const time_t *t;
+gmtime (const time_t *t)
{
return __tz_convert (t, 0, &_tmbuf);
}