public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH] winsup: delete old _LIBC logic
Date: Wed, 10 Nov 2021 11:57:19 +0100	[thread overview]
Message-ID: <YYulj4qGaCcPAN7v@calimero.vinschen.de> (raw)
In-Reply-To: <20211110004624.5044-1-vapier@gentoo.org>

On Nov  9 19:46, Mike Frysinger wrote:
> 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 | 15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/winsup/cygwin/tzcode/private.h b/winsup/cygwin/tzcode/private.h
> index 830750ad5b1d..beae506d2270 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 */
> -- 

ACK.  Please push.


Thanks,
Corinna


      reply	other threads:[~2021-11-10 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  0:46 Mike Frysinger
2021-11-10 10:57 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YYulj4qGaCcPAN7v@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).