]> git.imager.perl.org - imager.git/blobdiff - log.c
- reading an image with an idstring of 128 or more bytes would result
[imager.git] / log.c
diff --git a/log.c b/log.c
index a571fda2fe70c0558432c49bbc52d23841408839..c2b23e62a2bd04753fdd8ed1fc38b093ab18e5c3 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1,3 +1,4 @@
+#include "imconfig.h"
 #include "log.h"
 
 #define DTBUFF 50
@@ -17,7 +18,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 +60,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); }