From 047eaf9a6b36881a15e43cbea333725b8e59a3b4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 28 Jan 2022 10:33:50 +0100 Subject: Cygwin: drop autoloading kernel32 symbols available since Windows 7 Signed-off-by: Corinna Vinschen --- winsup/cygwin/autoload.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 2b862b5..1f52411 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -582,21 +582,15 @@ LoadDLLfunc (if_indextoname, 8, iphlpapi) LoadDLLfunc (if_nametoindex, 4, iphlpapi) LoadDLLfuncEx2 (DiscardVirtualMemory, 8, kernel32, 1, 127) -LoadDLLfunc (GetCurrentProcessorNumberEx, 4, kernel32) -LoadDLLfuncEx (GetLogicalProcessorInformationEx, 12, kernel32, 1) -LoadDLLfuncEx (GetProcessGroupAffinity, 12, kernel32, 1) LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32) -LoadDLLfuncEx (GetThreadGroupAffinity, 8, kernel32, 1) LoadDLLfuncEx (IsWow64Process2, 12, kernel32, 1) LoadDLLfuncEx (PrefetchVirtualMemory, 16, kernel32, 1) -LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32) /* MSDN claims these are exported by kernel32.dll, but only QueryUnbiasedInterruptTime actually is. The others are only available via KernelBase.dll. */ LoadDLLfunc (QueryInterruptTime, 4, KernelBase) LoadDLLfunc (QueryInterruptTimePrecise, 4, KernelBase) -LoadDLLfunc (QueryUnbiasedInterruptTime, 4, KernelBase) LoadDLLfunc (QueryUnbiasedInterruptTimePrecise, 4, KernelBase) LoadDLLfunc (VirtualAlloc2, 28, KernelBase) -- cgit v1.1