]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/log.cpp
Note to self in makefile
[virtualjaguar] / src / log.cpp
index ea38d63ef6dbc85f9c103c10d1672d5bec973036..ce660e8a0cf742fdf189f05d0ddfa4308fc89030 100644 (file)
@@ -6,15 +6,18 @@
 // Cleanups/new stuff by James L. Hammons
 //
 
-#include "types.h"
 #include "log.h"
 
+#include <stdlib.h>
+#include <stdarg.h>
+#include "types.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");