[io-layer] Extract file (#4255)
[mono.git] / mono / io-layer / wapi.c
index d4da229603e49264010aa78f072d525d308dd690..14dc672e8ee9ac879a21bb175e3de57a9101d31f 100644 (file)
@@ -1,30 +1,9 @@
 
 #include "wapi.h"
 
-#include "io-trace.h"
-#include "io.h"
-
 #include "mono/utils/mono-lazy-init.h"
 #include "mono/metadata/w32handle.h"
 
-gboolean _wapi_has_shut_down = FALSE;
-
-void
-wapi_init (void)
-{
-       _wapi_io_init ();
-}
-
-void
-wapi_cleanup (void)
-{
-       g_assert (_wapi_has_shut_down == FALSE);
-       _wapi_has_shut_down = TRUE;
-
-       _wapi_error_cleanup ();
-       _wapi_io_cleanup ();
-}
-
 /* Use this instead of getpid(), to cope with linuxthreads.  It's a
  * function rather than a variable lookup because we need to get at
  * this before share_init() might have been called. */