From 7fbfec2b642a0f2560cd4840bab76285b17c3fd0 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 23 Feb 2006 19:21:21 +0000 Subject: * winsup.h (cygwin_hmodule): Declare. * exceptions.cc (inside_kernel): Reverse return values to reflect function name. Return true if we're in cygwin1.dll or if we're executing in dll_entry. (_cygtls::interrupt_now): Reflect reversal of inside_kernel return value. * hookapi.cc (cygwin_hmodule): Remove declaration. * init.cc (dll_entry): Use in_dllentry global to record that we are executing in dllentry. --- winsup/cygwin/hookapi.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'winsup/cygwin/hookapi.cc') diff --git a/winsup/cygwin/hookapi.cc b/winsup/cygwin/hookapi.cc index 2ef1eea47..a58814e6b 100644 --- a/winsup/cygwin/hookapi.cc +++ b/winsup/cygwin/hookapi.cc @@ -111,7 +111,6 @@ RedirectIAT (function_hook& fh, PIMAGE_IMPORT_DESCRIPTOR pImportDesc, void get_export (function_hook& fh) { - extern HMODULE cygwin_hmodule; PIMAGE_DOS_HEADER pdh = (PIMAGE_DOS_HEADER) cygwin_hmodule; if (pdh->e_magic != IMAGE_DOS_SIGNATURE) return; -- cgit v1.2.3