]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/log.cpp
Extensive changes to remove gcc 4.x warnings, general code cleanup
[virtualjaguar] / src / log.cpp
index 1f6b882e0bce96bfeab2235b49a4208f8fc8b74b..ce660e8a0cf742fdf189f05d0ddfa4308fc89030 100644 (file)
@@ -6,17 +6,18 @@
 // Cleanups/new stuff by James L. Hammons
 //
 
+#include "log.h"
+
 #include <stdlib.h>
 #include <stdarg.h>
 #include "types.h"
-#include "log.h"
 
 #define MAX_LOG_SIZE           10000000                                // Maximum size of log file (10 MB)
 
 static FILE * log_stream = NULL;
 static uint32 logSize = 0;
 
-int log_init(char * path)
+int log_init(const char * path)
 {
        log_stream = fopen(path, "wrt");