[tz] [PROPOSED 3/5] Remove macros duplicated from private.h

Paul Eggert eggert at cs.ucla.edu
Tue Jul 12 16:14:05 UTC 2022


* date.c (TM_YEAR_BASE, SECSPERMIN): Remove duplicate macros.
---
 date.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/date.c b/date.c
index 4c72b21..5c511ba 100644
--- a/date.c
+++ b/date.c
@@ -31,18 +31,6 @@
 #include <locale.h>
 #include <stdio.h>
 
-/*
-** The two things date knows about time are. . .
-*/
-
-#ifndef TM_YEAR_BASE
-# define TM_YEAR_BASE	1900
-#endif /* !defined TM_YEAR_BASE */
-
-#ifndef SECSPERMIN
-# define SECSPERMIN	60
-#endif /* !defined SECSPERMIN */
-
 #if !HAVE_POSIX_DECLS
 extern char *		optarg;
 extern int		optind;
-- 
2.34.1



More information about the tz mailing list