https://git.reactos.org/?p=reactos.git;a=commitdiff;h=511ad21fae04d129338d2…
commit 511ad21fae04d129338d26f375184499d9b1089d
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Fri Oct 27 23:42:40 2017 +0100
[SHSVCS] Add missing VOID. CORE-11799 (#94)
---
base/services/shsvcs/shsvcs.c | 6 +++---
base/services/shsvcs/thmserver.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/base/services/shsvcs/shsvcs.c b/base/services/shsvcs/shsvcs.c
index 74078a5e64..22ba3b973a 100644
--- a/base/services/shsvcs/shsvcs.c
+++ b/base/services/shsvcs/shsvcs.c
@@ -20,17 +20,17 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
return S_OK;
}
-HRESULT WINAPI DllRegisterServer()
+HRESULT WINAPI DllRegisterServer(VOID)
{
return S_OK;
}
-HRESULT WINAPI DllUnregisterServer()
+HRESULT WINAPI DllUnregisterServer(VOID)
{
return S_OK;
}
-HRESULT WINAPI DllCanUnloadNow()
+HRESULT WINAPI DllCanUnloadNow(VOID)
{
return S_OK;
}
diff --git a/base/services/shsvcs/thmserver.c b/base/services/shsvcs/thmserver.c
index b40f02dccb..c4169446f4 100644
--- a/base/services/shsvcs/thmserver.c
+++ b/base/services/shsvcs/thmserver.c
@@ -28,13 +28,13 @@ static WCHAR ServiceName[] = L"Themes";
HANDLE hThemeStartWaitObject, hThemeStopWaitObject, hThemeServiceWaitObject;
HANDLE hStartEvent, hStopEvent, hServiceProcess;
-BOOL WINAPI ThemeWatchForStart();
+BOOL WINAPI ThemeWatchForStart(VOID);
/* FUNCTIONS *****************************************************************/
static
HANDLE
-GetThemeServiceProcessHandle()
+GetThemeServiceProcessHandle(VOID)
{
SC_HANDLE scm, service;
SERVICE_STATUS_PROCESS status;
@@ -112,7 +112,7 @@ ThemeStartCallback(PVOID lpParameter, BOOLEAN TimerOrWaitFired)
BOOL
WINAPI
-ThemeWatchForStart()
+ThemeWatchForStart(VOID)
{
hStartEvent = CreateEventW(NULL, TRUE, FALSE, L"Global\\ThemeStartEvent");
hStopEvent = CreateEventW(NULL, TRUE, FALSE, L"Global\\ThemeStopEvent");