Nikolay Sivov : kernel32: Remove unused functions.
Alexandre Julliard
julliard at winehq.org
Wed Jul 3 17:11:53 CDT 2019
Module: wine
Branch: master
Commit: 8f1caca469781ea23d0c8868b93b627196447d64
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8f1caca469781ea23d0c8868b93b627196447d64
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Jul 3 11:11:36 2019 +0300
kernel32: Remove unused functions.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/sync.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 49374cc..d8d0f20 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -50,12 +50,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(sync);
-/* check if current version is NT or Win95 */
-static inline BOOL is_version_nt(void)
-{
- return !(GetVersion() & 0x80000000);
-}
-
static void get_create_object_attributes( OBJECT_ATTRIBUTES *attr, UNICODE_STRING *nameW,
SECURITY_ATTRIBUTES *sa, const WCHAR *name )
{
@@ -89,14 +83,6 @@ static BOOL get_open_object_attributes( OBJECT_ATTRIBUTES *attr, UNICODE_STRING
return TRUE;
}
-/* helper for kernel32->ntdll timeout format conversion */
-static inline PLARGE_INTEGER get_nt_timeout( PLARGE_INTEGER pTime, DWORD timeout )
-{
- if (timeout == INFINITE) return NULL;
- pTime->QuadPart = (ULONGLONG)timeout * -10000;
- return pTime;
-}
-
/***********************************************************************
* SwitchToThread (KERNEL32.@)
*/
More information about the wine-cvs
mailing list