diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-10-18 11:45:33 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-20 10:30:34 +1000 |
commit | 0344a6bee50e0fced3f3c347bc61a137eabe6bb7 (patch) | |
tree | 837c49e0e74e86d3a2cda69ba8f780d0de082e18 /jim-syslog.c | |
parent | c00426df647271ce753acf97103086d73b8fbb83 (diff) | |
download | jimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.zip jimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.tar.gz jimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.tar.bz2 |
Mark some more static data as const
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-syslog.c')
-rw-r--r-- | jim-syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |