From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id C7158385840E; Thu, 11 Nov 2021 01:16:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7158385840E Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Frysinger To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] winsup: delete old _LIBC logic X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: f013c741c10875b641a9c3e4e5a0025a9579c87e X-Git-Newrev: 24491c1251d4b8711ce5fa577e16ed01c46db7a6 Message-Id: <20211111011619.C7158385840E@sourceware.org> Date: Thu, 11 Nov 2021 01:16:19 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2021 01:16:19 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=24491c1251d4b8711ce5fa577e16ed01c46db7a6 commit 24491c1251d4b8711ce5fa577e16ed01c46db7a6 Author: Mike Frysinger Date: Tue Nov 9 19:25:22 2021 -0500 winsup: delete old _LIBC logic This logic has never been used as we don't define _LIBC and the reentrant.h header doesn't exist, so delete it all. Diff: --- winsup/cygwin/tzcode/private.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/winsup/cygwin/tzcode/private.h b/winsup/cygwin/tzcode/private.h index 830750ad5..beae506d2 100644 --- a/winsup/cygwin/tzcode/private.h +++ b/winsup/cygwin/tzcode/private.h @@ -777,19 +777,4 @@ char *ctime_r(time_t const *, char *); ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR) #define SECSPERREPEAT_BITS 34 /* ceil(log2(SECSPERREPEAT)) */ -#ifdef _LIBC -#include "reentrant.h" -extern struct __state *__lclptr; -#if defined(__LIBC12_SOURCE__) -#define tzset_unlocked __tzset_unlocked -#else -#define tzset_unlocked __tzset_unlocked50 -#endif - -void tzset_unlocked(void); -#ifdef _REENTRANT -extern rwlock_t __lcl_lock; -#endif -#endif - #endif /* !defined PRIVATE_H */