From: Holger Schemel Date: Fri, 18 Sep 2020 16:34:07 +0000 (+0200) Subject: renamed function X-Git-Tag: 4.2.0.3~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=259128f543fa1c3c6f3bf8bff8309e815beedad6;p=rocksndiamonds.git renamed function --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 193b15e2..b71fee31 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -288,7 +288,7 @@ static void printf_log_prefix(int log_level, char *mode) printf_log_nonewline("[%s] ", log_token); } -static void Log(int log_level, char *mode, char *format, va_list ap) +static void vLog(int log_level, char *mode, char *format, va_list ap) { if (log_level < 0 || log_level > LOG_FATAL) return; @@ -352,7 +352,7 @@ void Debug(char *mode, char *format, ...) va_list ap; va_start(ap, format); - Log(LOG_DEBUG, mode, format, ap); + vLog(LOG_DEBUG, mode, format, ap); va_end(ap); } @@ -361,7 +361,7 @@ void Info(char *format, ...) va_list ap; va_start(ap, format); - Log(LOG_INFO, NULL, format, ap); + vLog(LOG_INFO, NULL, format, ap); va_end(ap); } @@ -370,7 +370,7 @@ void Warn(char *format, ...) va_list ap; va_start(ap, format); - Log(LOG_WARN, NULL, format, ap); + vLog(LOG_WARN, NULL, format, ap); va_end(ap); }