/* Convert `time_t' to `struct tm' in UTC.
- Copyright (C) 1991-2014 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
/* 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);
}
/* 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);
}