X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrftime.c;h=897aab71e5dd4063b05d955ed5b270077f9add91;hb=b314ca18dc36e59297f66b2508fd58535a1cd724;hp=3fce99bd892d06d2a1434a1f9fc0258e2715e92f;hpb=5661ab9d49512b4cf3c19caa11bb581d8ce561ba;p=gnulib.git diff --git a/lib/strftime.c b/lib/strftime.c index 3fce99bd8..897aab71e 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -4,19 +4,18 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. - This program is free software; you can redistribute it and/or modify + 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) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ #ifdef _LIBC # define HAVE_MBLEN 1 @@ -38,7 +37,7 @@ #include #include -#if HAVE_TZNAME && ! defined tzname +#if HAVE_TZNAME && !HAVE_DECL_TZNAME extern char *tzname[]; #endif @@ -134,11 +133,10 @@ extern char *tzname[]; #endif #if !HAVE_TM_GMTOFF -/* 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 __gmtime_r # undef __localtime_r # define __gmtime_r gmtime_r