mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WUtil: Added missing const attribute to function arguments
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
e8feda5414
commit
36c3f7edf4
@@ -36,7 +36,7 @@
|
|||||||
static Bool syslog_initialized = False;
|
static Bool syslog_initialized = False;
|
||||||
|
|
||||||
|
|
||||||
static void syslog_open(char *prog_name)
|
static void syslog_open(const char *prog_name)
|
||||||
{
|
{
|
||||||
int options;
|
int options;
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ static void syslog_open(char *prog_name)
|
|||||||
syslog_initialized = True;
|
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)
|
if (!syslog_initialized)
|
||||||
syslog_open(prog_name);
|
syslog_open(prog_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user