summaryrefslogtreecommitdiff
path: root/time/gmtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/gmtime.c')
-rw-r--r--time/gmtime.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/time/gmtime.c b/time/gmtime.c
index 60ac207b63..b3b5d0d4d7 100644
--- a/time/gmtime.c
+++ b/time/gmtime.c
@@ -1,5 +1,5 @@
/* Convert `time_t' to `struct tm' in UTC.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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);
}