* autoload.cc (UuidCreate): Remove.
(UuidCreateSequential): Remove. * passwd.cc (internal_getpwsid): Avoid a strict-aliasing compiler error with gcc 4.5.1. * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Ditto. * ntdll.h (NtAllocateUuids): Declare. * syscalls.cc (gethostid): Use NtAllocateUuids function rather than UuidCreateSequential/UuidCreate to get rid of rpcrt4 dependency.
This commit is contained in:
@ -403,9 +403,6 @@ LoadDLLfuncEx (GetModuleInformation, 16, psapi, 1)
|
||||
LoadDLLfuncEx (GetProcessMemoryInfo, 12, psapi, 1)
|
||||
LoadDLLfuncEx (QueryWorkingSet, 12, psapi, 1)
|
||||
|
||||
LoadDLLfunc (UuidCreate, 4, rpcrt4)
|
||||
LoadDLLfuncEx (UuidCreateSequential, 4, rpcrt4, 1)
|
||||
|
||||
LoadDLLfunc (LsaDeregisterLogonProcess, 4, secur32)
|
||||
LoadDLLfunc (LsaFreeReturnBuffer, 4, secur32)
|
||||
LoadDLLfunc (LsaLogonUser, 56, secur32)
|
||||
|
Reference in New Issue
Block a user