Module: wine Branch: master Commit: 32e2ede0dfd94b524231ae7f7d335e7152382f20 URL: https://gitlab.winehq.org/wine/wine/-/commit/32e2ede0dfd94b524231ae7f7d335e7...
Author: Vijay Kiran Kamuju infyquest@gmail.com Date: Wed Jun 19 21:30:45 2024 +0200
ntdll: Fix RtlEnumerateGenericTableWithoutSplaying function parameters.
---
dlls/ntdll/rtl.c | 2 +- include/ddk/ntddk.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index 81160cd1f70..d9690cdec96 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c @@ -191,7 +191,7 @@ void WINAPI RtlInitializeGenericTable(RTL_GENERIC_TABLE *table, PRTL_GENERIC_COM /****************************************************************************** * RtlEnumerateGenericTableWithoutSplaying [NTDLL.@] */ -void * WINAPI RtlEnumerateGenericTableWithoutSplaying(RTL_GENERIC_TABLE *table, void *previous) +void * WINAPI RtlEnumerateGenericTableWithoutSplaying(RTL_GENERIC_TABLE *table, PVOID *previous) { static int warn_once;
diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h index 6a8fffd532e..7f5db987ed4 100644 --- a/include/ddk/ntddk.h +++ b/include/ddk/ntddk.h @@ -274,6 +274,7 @@ NTSTATUS WINAPI PsSetLoadImageNotifyRoutine(PLOAD_IMAGE_NOTIFY_ROUTINE); NTSTATUS WINAPI PsSetLoadImageNotifyRoutineEx(PLOAD_IMAGE_NOTIFY_ROUTINE,ULONG_PTR); LONG WINAPI RtlCompareString(const STRING*,const STRING*,BOOLEAN); void WINAPI RtlCopyString(STRING*,const STRING*); +void * WINAPI RtlEnumerateGenericTableWithoutSplaying(PRTL_GENERIC_TABLE,PVOID*); BOOLEAN WINAPI RtlEqualString(const STRING*,const STRING*,BOOLEAN); void * WINAPI RtlGetElementGenericTable(PRTL_GENERIC_TABLE,ULONG); void WINAPI RtlInitializeGenericTable(PRTL_GENERIC_TABLE,PRTL_GENERIC_COMPARE_ROUTINE,PRTL_GENERIC_ALLOCATE_ROUTINE,PRTL_GENERIC_FREE_ROUTINE,void *);