summaryrefslogtreecommitdiff
path: root/lib/strftime.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-01-04 18:57:24 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-01-04 18:57:24 +0000
commit15954c375339ffbf18ec39a631ed4f76d7f81c7e (patch)
tree12ee4cb6b3cd84d4e0c58cac1dc4bf7e68ffbea5 /lib/strftime.c
parent72631a7b4158ce44211fdc077c7366f195f7609b (diff)
downloadcoreutils-15954c375339ffbf18ec39a631ed4f76d7f81c7e.tar.xz
(tzname): Don't declare if it is already #defined.
Diffstat (limited to 'lib/strftime.c')
-rw-r--r--lib/strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index d740ae018..13c8acc85 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1999, 2000, 2001, 2003, 2004, 2005 Free Software
+/* Copyright (C) 1991-1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
@@ -47,7 +47,7 @@
# include <time.h>
# endif
#endif
-#if HAVE_TZNAME
+#if HAVE_TZNAME && ! defined tzname
extern char *tzname[];
#endif