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:
Martin Mares 2004-06-05 09:05:12 +00:00
parent 5da8f82feb
commit e98bc2ea9b
2 changed files with 3 additions and 2 deletions

View file

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

View file

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