Tweak the MutexLock implementation slightly, so as to confuse Coverity less.
[cubemap] / log.h
diff --git a/log.h b/log.h
index 7e51fcb..9ba0b5a 100644 (file)
--- a/log.h
+++ b/log.h
@@ -6,7 +6,6 @@
 #include <string>
 
 enum LogLevel {
 #include <string>
 
 enum LogLevel {
-       NO_LEVEL,
        INFO,
        WARNING,
        ERROR,
        INFO,
        WARNING,
        ERROR,
@@ -20,5 +19,6 @@ void start_logging();
 void shut_down_logging();
 
 void log(LogLevel log_level, const char *fmt, ...);
 void shut_down_logging();
 
 void log(LogLevel log_level, const char *fmt, ...);
+void log_perror(const char *msg);
 
 #endif  // !defined(_LOG_H)
 
 #endif  // !defined(_LOG_H)