mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Add const to a param msg at functions log_msg, log_rl, die, bug and debug
This commit is contained in:
committed by
Ondrej Zajicek
parent
4a591d4b94
commit
e598853e68
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user