]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/gmtime.c
Installed-header hygiene (BZ#20366): time.h types.
[thirdparty/glibc.git] / time / gmtime.c
index 7c618917ff2a565c5427db3da106c89c0c2886ef..b3b5d0d4d7168c36459a8115dff666102d1107c2 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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);
 }