*/
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;
}
}
}
+ setvbuf(lg_file, NULL, _IONBF, BUFSIZ);
mm_log((0,"Imager - log started (level = %d)\n", level));
}
/*
* Logging is inactive - insert dummy functions
+ */
+void m_init_log(const char* name,int onoff) {}
+void m_fatal(int exitcode,const char *fmt, ... ) { exit(exitcode); }
-void init_log(const char* name,int onoff) {}
-void m_fatal(int exitcode,const char *fmt, ... ) { return(exitcode); }
-
-*/
#endif