Signed-off-by: Francois Gouget <fgouget(a)free.fr>
---
dlls/ntdll/ntdll_misc.h | 1 -
dlls/ntdll/om.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/ntdll/ntdll_misc.h b/dlls/ntdll/ntdll_misc.h
index b5b08fc47ef..23b7fd30c0c 100644
--- a/dlls/ntdll/ntdll_misc.h
+++ b/dlls/ntdll/ntdll_misc.h
@@ -46,7 +46,6 @@ static const UINT_PTR page_size = 0x1000;
extern UINT_PTR page_size DECLSPEC_HIDDEN;
#endif
-extern NTSTATUS close_handle( HANDLE ) DECLSPEC_HIDDEN;
/* exceptions */
extern LONG call_vectored_handlers( EXCEPTION_RECORD *rec, CONTEXT *context ) DECLSPEC_HIDDEN;
diff --git a/dlls/ntdll/om.c b/dlls/ntdll/om.c
index f14e969652a..164f3fce3c4 100644
--- a/dlls/ntdll/om.c
+++ b/dlls/ntdll/om.c
@@ -362,7 +362,7 @@ static LONG WINAPI invalid_handle_exception_handler( EXCEPTION_POINTERS *eptr )
}
/* Everquest 2 / Pirates of the Burning Sea hooks NtClose, so we need a wrapper */
-NTSTATUS close_handle( HANDLE handle )
+static NTSTATUS close_handle( HANDLE handle )
{
DWORD_PTR debug_port;
NTSTATUS ret = unix_funcs->NtClose( handle );
--
2.20.1