1
0
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:
Pavel Tvrdik
2014-12-03 10:57:31 +01:00
committed by Ondrej Zajicek
parent 4a591d4b94
commit e598853e68
3 changed files with 13 additions and 13 deletions

View File

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