From 9a1cd49d755ebec6a9f085ca2025706b94927b82 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 10 Jan 2002 18:55:02 +0000 Subject: [PATCH] log() is now static, as it collides with math.h. --- lib/log.c | 2 +- lib/log.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/log.c b/lib/log.c index 7d2f8ad..ffa0e17 100644 --- a/lib/log.c +++ b/lib/log.c @@ -145,7 +145,7 @@ void exitLog() static char * logimportance[]= {"Fatal","Error","Warning","Notice","Verbose","Debug"}; static int loglevels=6; static char * logimportance2[]= {" ","FATAL ","ERROR ","WARNING","NOTICE ","VERBOSE","DEBUG "}; -void log(char* logString) +static inline void log(char* logString) { char timebuffer[32]; char* logBuffer; diff --git a/lib/log.h b/lib/log.h index 481cecc..31b99fb 100644 --- a/lib/log.h +++ b/lib/log.h @@ -28,7 +28,6 @@ #define LOGLEVEL_DEBUG 5 extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel); -extern void log(char* logString); extern void logf(const char* logFormat, ...); extern void exitLog(void); -- 1.7.10.4