1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

WUtil: Added missing const attribute to function arguments

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-03-01 19:09:55 +01:00
committed by Carlos R. Mafra
parent e8feda5414
commit 36c3f7edf4

View File

@@ -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);