]> git.imager.perl.org - imager.git/blobdiff - log.c
RT 58761: fix Imager->new(data => $data)
[imager.git] / log.c
diff --git a/log.c b/log.c
index 52f3939771f5a0f3306354f24d31697bf067c774..a32db1b5e271df8fe5c9ad42d08a7b098b9bf27e 100644 (file)
--- a/log.c
+++ b/log.c
@@ -38,7 +38,7 @@ i_init_log(const char* name,int level) {
 }
 
 void
-m_fatal(int exitcode,const char *fmt, ... ) {
+i_fatal(int exitcode,const char *fmt, ... ) {
   va_list ap;
   time_t timi;
   struct tm *str_tm;
@@ -62,11 +62,19 @@ m_fatal(int exitcode,const char *fmt, ... ) {
  */
 
 void i_init_log(const char* name,int onoff) {}
-void m_fatal(int exitcode,const char *fmt, ... ) { exit(exitcode); }
+void i_fatal(int exitcode,const char *fmt, ... ) { exit(exitcode); }
 
 
 #endif
 
+/*
+=item i_loog(level, format, ...)
+=category Logging
+
+This is an internal function called by the mm_log() macro.
+
+=cut
+*/
 
 void
 i_loog(int level,const char *fmt, ... ) {
@@ -82,6 +90,14 @@ i_loog(int level,const char *fmt, ... ) {
   }
 }
 
+/*
+=item i_lhead(file, line)
+=category Logging
+
+This is an internal function called by the mm_log() macro.
+
+=cut
+*/
 
 void
 i_lhead(const char *file, int line) {