mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-29 18:40:25 +08:00
3bbc40af2a
This reverts commit 4de8596. It worked around a problem which was actually introduced by patch 10a30e7 a few weeks ago. Rather than adding special code to the newlib version of __getreent, the followup patch reinstantiates the original, Cygwin-only implementation of __getreent. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Signed-off-by: Stefan Assmann <sassmann@redhat.com>
15 lines
207 B
C
15 lines
207 B
C
/* default reentrant pointer when multithread enabled */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
|
|
#ifdef __getreent
|
|
#undef __getreent
|
|
#endif
|
|
|
|
struct _reent *
|
|
_DEFUN_VOID(__getreent)
|
|
{
|
|
return _impure_ptr;
|
|
}
|