more horizontal refactoring
[swftools.git] / lib / log.h
index 9afa0f5..47526f3 100644 (file)
--- a/lib/log.h
+++ b/lib/log.h
@@ -37,6 +37,7 @@ extern "C" {
 #define LOGLEVEL_DEBUG 5
 #define LOGLEVEL_TRACE 6
 
+extern int getLogLevel();
 extern int getScreenLogLevel();
 
 extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel);
@@ -47,7 +48,7 @@ extern void msg(const char* logFormat, ...);
 extern void msg_str(const char* log);
 extern void exitLog(void);
 
-#define FIXNULL(a) ((int)(a)?(a):"NULL")
+#define FIXNULL(a) ((a)?(a):"NULL")
 
 #ifdef __cplusplus
 }