]> git.imager.perl.org - imager.git/blobdiff - log.c
- convert t/t15color.t to Test::More
[imager.git] / log.c
diff --git a/log.c b/log.c
index a571fda2fe70c0558432c49bbc52d23841408839..4d7cd44a84ffd361c51b40a1ca9514f822cc9f06 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1,4 +1,6 @@
+#include "imconfig.h"
 #include "log.h"
+#include <stdlib.h>
 
 #define DTBUFF 50
 #define DATABUFF DTBUFF+3+10+1+5+1+1
@@ -17,7 +19,7 @@ static char  data_buffer[DATABUFF];
  */
 
 void
-init_log(const char* name,int level) {
+m_init_log(const char* name,int level) {
   log_level = level;
   if (level < 0) {
     lg_file = NULL;
@@ -59,7 +61,7 @@ m_fatal(int exitcode,const char *fmt, ... ) {
  * Logging is inactive - insert dummy functions
  */
 
-void init_log(const char* name,int onoff) {}
+void m_init_log(const char* name,int onoff) {}
 void m_fatal(int exitcode,const char *fmt, ... ) { exit(exitcode); }