[tz] [PROPOSED] Remove incorrect #endif comments

Paul Eggert eggert at cs.ucla.edu
Wed Jun 14 22:35:23 UTC 2017


---
 localtime.c | 2 +-
 private.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/localtime.c b/localtime.c
index 1f5bbb2..8c944f3 100644
--- a/localtime.c
+++ b/localtime.c
@@ -94,7 +94,7 @@ static const char	gmt[] = "GMT";
 */
 #ifndef TZDEFRULESTRING
 #define TZDEFRULESTRING ",M3.2.0,M11.1.0"
-#endif /* !defined TZDEFDST */
+#endif
 
 struct ttinfo {				/* time type information */
 	int_fast32_t	tt_gmtoff;	/* UT offset in seconds */
diff --git a/private.h b/private.h
index e6cb21d..982ddf3 100644
--- a/private.h
+++ b/private.h
@@ -33,7 +33,7 @@
 
 #ifndef HAVE_INCOMPATIBLE_CTIME_R
 #define HAVE_INCOMPATIBLE_CTIME_R	0
-#endif /* !defined INCOMPATIBLE_CTIME_R */
+#endif
 
 #ifndef HAVE_LINK
 #define HAVE_LINK		1
-- 
2.9.4




More information about the tz mailing list