]> sourceware.org Git - newlib-cygwin.git/commitdiff
winsup: delete old _LIBC logic
authorMike Frysinger <vapier@gentoo.org>
Wed, 10 Nov 2021 00:25:22 +0000 (19:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 11 Nov 2021 01:16:15 +0000 (20:16 -0500)
This logic has never been used as we don't define _LIBC and the
reentrant.h header doesn't exist, so delete it all.

winsup/cygwin/tzcode/private.h

index 830750ad5b1dc30f822d73ade49c7945f4f8cf70..beae506d22706db0aaaa2f2cf265f9e321cff237 100644 (file)
@@ -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 */
This page took 0.031673 seconds and 5 git commands to generate.