Commit e98bc2ea authored by Martin Mareš's avatar Martin Mareš

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 :)
parent 5da8f82f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment