]> git.imager.perl.org - imager.git/blobdiff - log.h
provide XS OUTPUT clauses for i_transform2/i_transform
[imager.git] / log.h
diff --git a/log.h b/log.h
index 6cec6eb38eb2b5db2d2194f7831342546024f9c5..16b5831039e340f233f82f7b6c86efb500cbc09d 100644 (file)
--- a/log.h
+++ b/log.h
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include <stdarg.h>
 #include <time.h>
+#include "imdatatypes.h"
 /* 
    input:  name of file to log too
    input:  onoff, 0 means no logging
@@ -13,7 +14,7 @@
 int i_init_log( const char *name, int onoff );
 void i_fatal ( int exitcode,const char *fmt, ... );
 void i_lhead ( const char *file, int line  );
-void i_loog(int level,const char *msg, ... );
+void i_loog(int level,const char *msg, ... ) I_FORMAT_ATTR(2,3);
 
 /*
 =item mm_log((level, format, ...))