log() is now static, as it collides with math.h.
authorkramm <kramm>
Thu, 10 Jan 2002 18:55:02 +0000 (18:55 +0000)
committerkramm <kramm>
Thu, 10 Jan 2002 18:55:02 +0000 (18:55 +0000)
lib/log.c
lib/log.h

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;
index 481cecc..31b99fb 100644 (file)
--- 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);