[Spice-devel] [PATCH 05/14] Make session_events static and const

Frediano Ziglio fziglio at redhat.com
Thu Sep 1 12:00:47 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 vdservice/vdservice.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp
index d2bedaa..2d7b5b9 100644
--- a/vdservice/vdservice.cpp
+++ b/vdservice/vdservice.cpp
@@ -233,7 +233,7 @@ bool VDService::uninstall()
     return ret;
 }
 
-const char* session_events[] = {
+static const char* const session_events[] = {
     "INVALID", "CONNECT", "DISCONNECT", "REMOTE_CONNECT", "REMOTE_DISCONNECT", "LOGON", "LOGOFF",
     "LOCK", "UNLOCK", "REMOTE_CONTROL"
 };
-- 
2.7.4



More information about the Spice-devel mailing list