From 5faa48850f4e40c09fa9353b4e4cfbef43c7d9e0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 26 Jul 2006 15:59:39 +0000 Subject: * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. * fhandler_tape.cc (mt): Define as DLL shared area in .cygwin_dll_common instead of as dynamically allocated area. Change referencing throughout. * mtinfo.h (mt_h): Remove entirely. (mt): Remove extern declaration. * shared.cc (cygwin_shared_area): New global cygwin_shared variable located in .cygwin_dll_common. (offsets): Define shared region addresses descending from cygwin_shared_address. (open_shared): Replace usage of SH_CYGWIN_SHARED by SH_USER_SHARED. (memory_init): Set cygwin_shared just by pointing to cygwin_shared_area. * shared_info.h (shared_locations): Remove SH_CYGWIN_SHARED and SH_MTINFO. (cygwin_shared_address): Define as DLL start address. * tty.h (tty_min::tty_min): Remove constructor. --- winsup/cygwin/mtinfo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'winsup/cygwin/mtinfo.h') diff --git a/winsup/cygwin/mtinfo.h b/winsup/cygwin/mtinfo.h index 66e74cc33..9b1cf2c7e 100644 --- a/winsup/cygwin/mtinfo.h +++ b/winsup/cygwin/mtinfo.h @@ -1,6 +1,6 @@ /* mtinfo.h: Defininitions for the Cygwin tape driver class. - Copyright 2004 Red Hat, Inc. + Copyright 2004, 2005, 2006 Red Hat, Inc. This file is part of Cygwin. @@ -141,7 +141,4 @@ public: mtinfo_drive *drive (int num) { return &_drive[num]; } }; -extern HANDLE mt_h; -extern mtinfo *mt; - extern void __stdcall mtinfo_init (); -- cgit v1.2.3