[PATCH] ntdll/tests: remove unused NtWaitForSingleObject import

Peter Oberndorfer kumbayo84 at arcor.de
Wed Sep 22 12:29:58 CDT 2010


---
 dlls/ntdll/tests/port.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c
index d092ed7..20e5831 100644
--- a/dlls/ntdll/tests/port.c
+++ b/dlls/ntdll/tests/port.c
@@ -128,7 +128,6 @@ static NTSTATUS (WINAPI *pNtConnectPort)(PHANDLE,PUNICODE_STRING,
                                          PLPC_SECTION_WRITE,PLPC_SECTION_READ,
                                          PVOID,PVOID,PULONG);
 static NTSTATUS (WINAPI *pRtlInitUnicodeString)(PUNICODE_STRING,LPCWSTR);
-static NTSTATUS (WINAPI *pNtWaitForSingleObject)(HANDLE,BOOLEAN,PLARGE_INTEGER);
 static BOOL     (WINAPI *pIsWow64Process)(HANDLE, PBOOL);
 
 static BOOL is_wow64;
@@ -150,7 +149,6 @@ static BOOL init_function_ptrs(void)
     pNtRegisterThreadTerminatePort = (void *)GetProcAddress(hntdll, "NtRegisterThreadTerminatePort");
     pNtConnectPort = (void *)GetProcAddress(hntdll, "NtConnectPort");
     pRtlInitUnicodeString = (void *)GetProcAddress(hntdll, "RtlInitUnicodeString");
-    pNtWaitForSingleObject = (void *)GetProcAddress(hntdll, "NtWaitForSingleObject");
 
     if (!pNtCompleteConnectPort || !pNtAcceptConnectPort ||
         !pNtReplyWaitReceivePort || !pNtCreatePort || !pNtRequestWaitReplyPort ||
-- 
1.7.0.4




More information about the wine-patches mailing list