summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 11:05:12 +0200
committerMartin Mares <mj@ucw.cz>2004-06-05 11:05:12 +0200
commite98bc2ea9b957287e78bc51e3293fc48a49c26b2 (patch)
treebf183e8dc62da5e5af37238e763beaf54df2bc20 /lib
parent5da8f82feb14512725e09664f6db96f03e3ece8f (diff)
downloadbird-e98bc2ea9b957287e78bc51e3293fc48a49c26b2.tar
bird-e98bc2ea9b957287e78bc51e3293fc48a49c26b2.zip
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 :)
Diffstat (limited to 'lib')
-rw-r--r--lib/birdlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index d218a0b..93f25fb 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -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;