https://git.reactos.org/?p=reactos.git;a=commitdiff;h=706a70c9e11f8371ada69…
commit 706a70c9e11f8371ada69ebccf756979a61c5165
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 28 13:46:11 2017 +0100
[NTDLL][NTUSER][SPOOLSS][WINSPOOL] Add some missing VOIDs. CORE-11799 (#94)
---
dll/ntdll/include/ntdllp.h | 4 ++--
win32ss/printing/base/spoolss/main.c | 2 +-
win32ss/printing/base/winspool/main.c | 2 +-
win32ss/printing/include/spoolss.h | 2 +-
win32ss/user/ntuser/ntuser.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dll/ntdll/include/ntdllp.h b/dll/ntdll/include/ntdllp.h
index 8164a294c1..4d6086730e 100644
--- a/dll/ntdll/include/ntdllp.h
+++ b/dll/ntdll/include/ntdllp.h
@@ -147,7 +147,7 @@ VOID NTAPI
LdrpFreeUnicodeString(PUNICODE_STRING String);
VOID NTAPI
-LdrpGetShimEngineInterface();
+LdrpGetShimEngineInterface(VOID);
VOID
NTAPI
@@ -156,7 +156,7 @@ LdrpLoadShimEngine(IN PWSTR ImageName,
IN PVOID pShimData);
VOID NTAPI
-LdrpUnloadShimEngine();
+LdrpUnloadShimEngine(VOID);
/* FIXME: Cleanup this mess */
diff --git a/win32ss/printing/base/spoolss/main.c b/win32ss/printing/base/spoolss/main.c
index 01142edde8..dcbb447e4c 100644
--- a/win32ss/printing/base/spoolss/main.c
+++ b/win32ss/printing/base/spoolss/main.c
@@ -240,7 +240,7 @@ SplIsUpgrade()
}
BOOL WINAPI
-SpoolerInit()
+SpoolerInit(VOID)
{
// Nothing to do here yet
SetLastError(ERROR_SUCCESS);
diff --git a/win32ss/printing/base/winspool/main.c
b/win32ss/printing/base/winspool/main.c
index 7cf28de577..97e09d7009 100644
--- a/win32ss/printing/base/winspool/main.c
+++ b/win32ss/printing/base/winspool/main.c
@@ -84,7 +84,7 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
}
BOOL WINAPI
-SpoolerInit()
+SpoolerInit(VOID)
{
BOOL bReturnValue = FALSE;
DWORD dwErrorCode;
diff --git a/win32ss/printing/include/spoolss.h b/win32ss/printing/include/spoolss.h
index 6dc318023f..a841fb29e0 100644
--- a/win32ss/printing/include/spoolss.h
+++ b/win32ss/printing/include/spoolss.h
@@ -68,7 +68,7 @@ PBYTE WINAPI PackStrings(PWSTR* pSource, PBYTE pDest, const DWORD*
DestOffsets,
PVOID WINAPI ReallocSplMem(PVOID pOldMem, DWORD cbOld, DWORD cbNew);
BOOL WINAPI ReallocSplStr(PWSTR* ppwszString, PCWSTR pwszInput);
BOOL WINAPI SplInitializeWinSpoolDrv(PVOID* pTable);
-BOOL WINAPI SpoolerInit();
+BOOL WINAPI SpoolerInit(VOID);
PDWORD WINAPI UndoAlignRpcPtr(PVOID pDestinationBuffer, PVOID pSourceBuffer, DWORD
cbBuffer, PDWORD pcbNeeded);
#endif
diff --git a/win32ss/user/ntuser/ntuser.c b/win32ss/user/ntuser/ntuser.c
index d86e563486..e44feb8db0 100644
--- a/win32ss/user/ntuser/ntuser.c
+++ b/win32ss/user/ntuser/ntuser.c
@@ -113,7 +113,7 @@ InitUserImpl(VOID)
NTSTATUS
NTAPI
-InitVideo();
+InitVideo(VOID);
NTSTATUS
NTAPI