From e598853e681d23dd7820627eeed96bf53197eae5 Mon Sep 17 00:00:00 2001 From: Pavel Tvrdik Date: Wed, 3 Dec 2014 10:57:31 +0100 Subject: Add const to a param msg at functions log_msg, log_rl, die, bug and debug --- client/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/util.c b/client/util.c index 451bb60c..050224b9 100644 --- a/client/util.c +++ b/client/util.c @@ -17,7 +17,7 @@ /* Client versions of logging functions */ static void -vlog(char *msg, va_list args) +vlog(const char *msg, va_list args) { char buf[1024]; @@ -28,7 +28,7 @@ vlog(char *msg, va_list args) } void -bug(char *msg, ...) +bug(const char *msg, ...) { va_list args; @@ -41,7 +41,7 @@ bug(char *msg, ...) } void -die(char *msg, ...) +die(const char *msg, ...) { va_list args; -- cgit v1.2.3