aboutsummaryrefslogtreecommitdiff
path: root/time/mktime.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-05-22 06:10:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-22 06:10:34 -0700
commit2554247d83080250693a60f9aca91820af4234e0 (patch)
treeb199bbf09cbe17ed60d78bcf7acdcc9362485515 /time/mktime.c
parent826dd0abdfe2b8ba1c4b4effb4c61ed4b405ff12 (diff)
downloadglibc-2554247d83080250693a60f9aca91820af4234e0.zip
glibc-2554247d83080250693a60f9aca91820af4234e0.tar.gz
glibc-2554247d83080250693a60f9aca91820af4234e0.tar.bz2
mktime: merge time_r change from gnulib
Diffstat (limited to 'time/mktime.c')
-rw-r--r--time/mktime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/time/mktime.c b/time/mktime.c
index d0b7738..15659d3 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -141,11 +141,10 @@ const unsigned short int __mon_yday[2][13] =
#ifndef _LIBC
-/* Portable standalone applications should supply a "time_r.h" that
+/* Portable standalone applications should supply a <time.h> that
declares a POSIX-compliant localtime_r, for the benefit of older
implementations that lack localtime_r or have a nonstandard one.
See the gnulib time_r module for one way to implement this. */
-# include "time_r.h"
# undef __localtime_r
# define __localtime_r localtime_r
# define __mktime_internal mktime_internal