log() is now static, as it collides with math.h.
[swftools.git] / lib / log.c
index 7d2f8ad..ffa0e17 100644 (file)
--- 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;