summaryrefslogtreecommitdiff
path: root/src/os_common/os_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_common/os_init.c')
-rw-r--r--src/os_common/os_init.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/os_common/os_init.c b/src/os_common/os_init.c
deleted file mode 100644
index 512216c52a5..00000000000
--- a/src/os_common/os_init.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*-
- * Copyright (c) 2014-2016 MongoDB, Inc.
- * Copyright (c) 2008-2014 WiredTiger, Inc.
- * All rights reserved.
- *
- * See the file LICENSE for redistribution information.
- */
-
-#include "wt_internal.h"
-
-/*
- * __wt_os_init --
- * Initialize the OS layer.
- */
-int
-__wt_os_init(WT_SESSION_IMPL *session)
-{
- return (F_ISSET(S2C(session), WT_CONN_IN_MEMORY) ?
- __wt_os_inmemory(session) :
-#if defined(_MSC_VER)
- __wt_os_win(session));
-#else
- __wt_os_posix(session));
-#endif
-}
-
-/*
- * __wt_os_cleanup --
- * Clean up the OS layer.
- */
-int
-__wt_os_cleanup(WT_SESSION_IMPL *session)
-{
- return (F_ISSET(S2C(session), WT_CONN_IN_MEMORY) ?
- __wt_os_inmemory_cleanup(session) :
-#if defined(_MSC_VER)
- __wt_os_win_cleanup(session));
-#else
- __wt_os_posix_cleanup(session));
-#endif
-}