From 0344a6bee50e0fced3f3c347bc61a137eabe6bb7 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Mon, 18 Oct 2010 11:45:33 +1000 Subject: Mark some more static data as const Signed-off-by: Steve Bennett --- jim-syslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jim-syslog.c') diff --git a/jim-syslog.c b/jim-syslog.c index a128e63..9b35d61 100644 --- a/jim-syslog.c +++ b/jim-syslog.c @@ -22,7 +22,7 @@ typedef struct # define LOG_AUTHPRIV LOG_AUTH #endif -static const char *facilities[] = { +static const char * const facilities[] = { [LOG_AUTHPRIV] = "authpriv", [LOG_CRON] = "cron", [LOG_DAEMON] = "daemon", @@ -43,7 +43,7 @@ static const char *facilities[] = { [LOG_LOCAL7] = "local7", }; -static const char *priorities[] = { +static const char * const priorities[] = { [LOG_EMERG] = "emerg", [LOG_ALERT] = "alert", [LOG_CRIT] = "crit", -- cgit v1.1