diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-11 13:41:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-11 13:42:41 +0100 |
commit | b58b241f3a42255cce56ff14b5ce8fc7245d11ca (patch) | |
tree | 69c7226b48dac12bb7de2bea008d10948f5c4d3b /setup_native | |
parent | a9d06182f8bc6ad79f72ec3d604d28d232c62ccc (diff) |
loplugin:externvar (clang-cl)
Change-Id: Iebf83ccfb9e7128fd328a548ce77cdee4ef7ca4b
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/indexingfilter/restartindexingservice.cxx | 12 |
1 files 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"; |