summaryrefslogtreecommitdiff
path: root/lib/time_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/time_r.c')
-rw-r--r--lib/time_r.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/time_r.c b/lib/time_r.c
index 2b72692..dc1e161 100644
--- a/lib/time_r.c
+++ b/lib/time_r.c
@@ -1,10 +1,10 @@
/* Reentrant time functions like localtime_r.
- Copyright (C) 2003, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006-2007, 2010-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -13,8 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Paul Eggert. */
@@ -22,8 +21,6 @@
#include <time.h>
-#include <string.h>
-
static struct tm *
copy_tm_result (struct tm *dest, struct tm const *src)
{