From 36c3f7edf4814bfc7d04118c7a2429ec268c20e8 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 1 Mar 2014 19:09:55 +0100 Subject: [PATCH] WUtil: Added missing const attribute to function arguments Signed-off-by: Christophe CURIS --- WINGs/error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WINGs/error.c b/WINGs/error.c index e94c428b..d61621fb 100644 --- a/WINGs/error.c +++ b/WINGs/error.c @@ -36,7 +36,7 @@ static Bool syslog_initialized = False; -static void syslog_open(char *prog_name) +static void syslog_open(const char *prog_name) { int options; @@ -48,7 +48,7 @@ static void syslog_open(char *prog_name) syslog_initialized = True; } -static void syslog_message(int prio, char *prog_name, char *msg) +static void syslog_message(int prio, const char *prog_name, const char *msg) { if (!syslog_initialized) syslog_open(prog_name);