diff options
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tape.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index 1cdbf0ac9..9b8dca220 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -22,7 +22,6 @@ details. */ #include "cygheap.h" #include "shared_info.h" #include "sigproc.h" -#include "mtinfo.h" /* Media changes and bus resets are sometimes reported and the function hasn't been executed. We repeat all functions which return with one @@ -1155,17 +1154,11 @@ mtinfo::initialize () } } -static mtinfo mt __attribute__((section (".cygwin_dll_common"), shared)); - -void __stdcall -mtinfo_init () -{ - mt.initialize (); -} - /**********************************************************************/ /* fhandler_dev_tape */ +#define mt (cygwin_shared->mt) + #define lock(err_ret_val) if (!_lock ()) return err_ret_val; inline bool |