diff --git a/error.c b/error.c index 889af6b..daac62b 100644 --- a/error.c +++ b/error.c @@ -37,7 +37,7 @@ int levelcolor[] = { }; #endif -void vprintmsg(int level, const char *name, size_t line, const char *msgtype, const char *msg, va_list ap); +void vprintmsg(int level, const char *name, size_t line, const char *msgtype, const char *msg, va_list ap) { #ifndef WIN32 fprintf (stderr, "\033[0;%dm%s:%d: \033[0;%dm%s: \033[0m", CON_CYAN, name, (int)line, levelcolor[level], errtype); @@ -48,7 +48,7 @@ void vprintmsg(int level, const char *name, size_t line, const char *msgtype, co fprintf (stderr, "\n"); } -void printmsg(int level, const char *name, size_t line, const char *msgtype, const char *msg, ...); +void printmsg(int level, const char *name, size_t line, const char *msgtype, const char *msg, ...) { va_list va; va_start(va, msg);