Make session_events static and const

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-08-12 13:57:21 +01:00
parent 9ed7be6445
commit 89445cd1b4

View File

@ -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"
};