summaryrefslogtreecommitdiff
path: root/time/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/localtime.c')
-rw-r--r--time/localtime.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/time/localtime.c b/time/localtime.c
index 38f3123d9a..8ec40cf333 100644
--- a/time/localtime.c
+++ b/time/localtime.c
@@ -1,5 +1,5 @@
/* Convert `time_t' to `struct tm' in local time zone.
- 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
@@ -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);
}