]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/include/log.h
Small header sanity update
[virtualjaguar] / src / include / log.h
index 107774eb9fe28823c5042e92e0a4d9d74fa2b204..0804df91d0c38574872c56e0f6dfecdabec4d654 100644 (file)
@@ -1,22 +1,23 @@
-//////////////////////////////////////////////////////////////////////////////
 //
-//////////////////////////////////////////////////////////////////////////////
+// LOG.H
 //
-//
-//
-//
-//
-//
-//////////////////////////////////////////////////////////////////////////////
 
 #ifndef __LOG_H__
 #define __LOG_H__
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 int log_init(char *);
-FILE *log_get(void);
+FILE * log_get(void);
 void log_done(void);
+void WriteLog(const char * text, ...);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif // __LOG_H__