aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/tzcode
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-09 19:25:22 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-10 20:16:15 -0500
commit24491c1251d4b8711ce5fa577e16ed01c46db7a6 (patch)
tree72d89082cd7e38582a7e526b4ae522caf37847e9 /winsup/cygwin/tzcode
parentf013c741c10875b641a9c3e4e5a0025a9579c87e (diff)
downloadnewlib-24491c1251d4b8711ce5fa577e16ed01c46db7a6.zip
newlib-24491c1251d4b8711ce5fa577e16ed01c46db7a6.tar.gz
newlib-24491c1251d4b8711ce5fa577e16ed01c46db7a6.tar.bz2
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.
Diffstat (limited to 'winsup/cygwin/tzcode')
-rw-r--r--winsup/cygwin/tzcode/private.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/winsup/cygwin/tzcode/private.h b/winsup/cygwin/tzcode/private.h
index 830750a..beae506 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 */