mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Renamed log() to log_msg(), but still keeping the old name as a macro.
This is done to avoid clashes with gcc-3.3 which has built-in logarithms :)
This commit is contained in:
parent
5da8f82feb
commit
e98bc2ea9b
@ -33,7 +33,8 @@
|
||||
|
||||
/* Logging and dying */
|
||||
|
||||
void log(char *msg, ...);
|
||||
#define log log_msg
|
||||
void log_msg(char *msg, ...);
|
||||
void die(char *msg, ...) NORET;
|
||||
void bug(char *msg, ...) NORET;
|
||||
|
||||
|
@ -114,7 +114,7 @@ vlog(int class, char *msg, va_list args)
|
||||
* formatted as a full line, no need to include |\n| inside.
|
||||
*/
|
||||
void
|
||||
log(char *msg, ...)
|
||||
log_msg(char *msg, ...)
|
||||
{
|
||||
int class = 1;
|
||||
va_list args;
|
||||
|
Loading…
Reference in New Issue
Block a user