From b58b241f3a42255cce56ff14b5ce8fc7245d11ca Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 Jan 2017 13:41:30 +0100 Subject: [PATCH] loplugin:externvar (clang-cl) Change-Id: Iebf83ccfb9e7128fd328a548ce77cdee4ef7ca4b --- .../indexingfilter/restartindexingservice.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx index fcae22f1cbd8..1e942230524a 100644 --- a/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx +++ b/setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx @@ -47,12 +47,12 @@ typedef SC_HANDLE (__stdcall * OpenService_t)(SC_HANDLE, LPCSTR, DWORD); typedef BOOL (__stdcall * QueryServiceStatus_t)(SC_HANDLE, LPSERVICE_STATUS); typedef BOOL (__stdcall * StartService_t)(SC_HANDLE, DWORD, LPCSTR*); -CloseServiceHandle_t CloseServiceHandle_ = nullptr; -ControlService_t ControlService_ = nullptr; -OpenSCManager_t OpenSCManager_ = nullptr; -OpenService_t OpenService_ = nullptr; -QueryServiceStatus_t QueryServiceStatus_ = nullptr; -StartService_t StartService_ = nullptr; +static CloseServiceHandle_t CloseServiceHandle_ = nullptr; +static ControlService_t ControlService_ = nullptr; +static OpenSCManager_t OpenSCManager_ = nullptr; +static OpenService_t OpenService_ = nullptr; +static QueryServiceStatus_t QueryServiceStatus_ = nullptr; +static StartService_t StartService_ = nullptr; const char * const INDEXING_SERVICE_NAME = "cisvc";