diff options
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r-- | lib/birdlib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index 84a6c1b4..d107c399 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -128,10 +128,10 @@ typedef struct buffer { #define log log_msg void log_commit(int class, buffer *buf); -void log_msg(char *msg, ...); -void log_rl(struct tbf *rl, char *msg, ...); -void die(char *msg, ...) NORET; -void bug(char *msg, ...) NORET; +void log_msg(const char *msg, ...); +void log_rl(struct tbf *rl, const char *msg, ...); +void die(const char *msg, ...) NORET; +void bug(const char *msg, ...) NORET; #define L_DEBUG "\001" /* Debugging messages */ #define L_TRACE "\002" /* Protocol tracing */ @@ -143,7 +143,7 @@ void bug(char *msg, ...) NORET; #define L_FATAL "\010" /* Fatal errors */ #define L_BUG "\011" /* BIRD bugs */ -void debug(char *msg, ...); /* Printf to debug output */ +void debug(const char *msg, ...); /* Printf to debug output */ /* Debugging */ |