From 76832a5b32dd03a995e5c9c58b84da2ac5c6b26c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 26 Dec 2003 04:40:52 +0000 Subject: * dcrt0.cc (reent_data): Reluctantly resurrect. (__cygwin_user_data::impure_ptr): Ditto. (_dll_crt0): Reluctantly initialize _impure_ptr here. (initialize_main_tls): Eliminate local_clib initialization since it now happens in init_thread. * init.cc (dll_entry): Reluctantly remove code which set _impure_ptr to the main thread's local_clib. * perthread.h (reent_data): Remove obsolete declaration. * sigproc.cc (proc_subproc): Add more debugging output. (get_proc_lock): Ditto. *dcrt0.cc (dll_crt0_1): Allocate argv[0] via malloc since main thread could exit. --- winsup/cygwin/perthread.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'winsup/cygwin/perthread.h') diff --git a/winsup/cygwin/perthread.h b/winsup/cygwin/perthread.h index a7095dc53..217fc7a74 100644 --- a/winsup/cygwin/perthread.h +++ b/winsup/cygwin/perthread.h @@ -12,9 +12,6 @@ details. */ #define PTMAGIC 0x77366377 -struct _reent; -extern struct _reent reent_data; - #define PER_THREAD_FORK_CLEAR ((void *)UINT32_MAX) class per_thread { -- cgit v1.2.3