From: kramm Date: Thu, 10 Jan 2002 18:55:02 +0000 (+0000) Subject: log() is now static, as it collides with math.h. X-Git-Tag: release-0-2-2~32 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=9a1cd49d755ebec6a9f085ca2025706b94927b82 log() is now static, as it collides with math.h. --- 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);