X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimegm.c;h=94d3fa0986bc6a5371630db6413ffea335e6e254;hb=c7a120f0df82737c24832f6a0c6cc7e1bfd4e671;hp=656df1c95494f3441b4054d025df482966962e5e;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/timegm.c b/lib/timegm.c index 656df1c95..94d3fa098 100644 --- a/lib/timegm.c +++ b/lib/timegm.c @@ -1,6 +1,6 @@ /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. - Copyright (C) 1994, 1997, 2003, 2004, 2006 Free Software + Copyright (C) 1994, 1997, 2003, 2004, 2006, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -17,18 +17,17 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef _LIBC -# include -#else +#ifndef _LIBC # include -# include "timegm.h" -# include +#endif + +#include + +#ifndef _LIBC # undef __gmtime_r # define __gmtime_r gmtime_r # define __mktime_internal mktime_internal -time_t __mktime_internal (struct tm *, - struct tm * (*) (time_t const *, struct tm *), - time_t *); +# include "mktime-internal.h" #endif time_t