summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx')
-rw-r--r--setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
index 4558d6f8a399..e1c26501b002 100644
--- a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
+++ b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx
@@ -32,7 +32,7 @@
const wchar_t * const INDEXING_SERVICE_NAME = L"cisvc";
-bool StopIndexingService(SC_HANDLE hService)
+static bool StopIndexingService(SC_HANDLE hService)
{
SERVICE_STATUS status;
@@ -78,7 +78,7 @@ bool StopIndexingService(SC_HANDLE hService)
return (status.dwCurrentState == SERVICE_STOPPED);
}
-void StartIndexingService(SC_HANDLE hService)
+static void StartIndexingService(SC_HANDLE hService)
{
if (StartServiceW(hService, 0, nullptr))
{