[tz] [PROPOSED 2/4] Adjust to refactored location of ctime, ctime_r

Paul Eggert eggert at cs.ucla.edu
Sat May 25 21:24:33 UTC 2024


* Makefile (TZDOBJS, DATEOBJS): Remove asctime.o.  Although needed
in older versions of this code where localtime.c defined ctime and
ctime_r which invoked code defined in asctime.c, that need went
away with the refactoring commit of 2022-11-30 10:34:19 -08.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index a72fb2ea..d60aacc9 100644
--- a/Makefile
+++ b/Makefile
@@ -562,8 +562,8 @@ RANLIB=		:
 
 
 TZCOBJS=	zic.o
-TZDOBJS=	zdump.o localtime.o asctime.o strftime.o
-DATEOBJS=	date.o localtime.o strftime.o asctime.o
+TZDOBJS=	zdump.o localtime.o strftime.o
+DATEOBJS=	date.o localtime.o strftime.o
 LIBSRCS=	localtime.c asctime.c difftime.c strftime.c
 LIBOBJS=	localtime.o asctime.o difftime.o strftime.o
 HEADERS=	tzfile.h private.h
-- 
2.45.1



More information about the tz mailing list