[SHSVCS] Add missing VOID. CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 27 Oct 2017 22:42:40 +0000 (23:42 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 27 Oct 2017 22:42:40 +0000 (23:42 +0100)
base/services/shsvcs/shsvcs.c
base/services/shsvcs/thmserver.c

index 74078a5..22ba3b9 100644 (file)
@@ -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;
 }
index b40f02d..c416944 100644 (file)
@@ -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");