- there would be a link or load time error on m_init_log() if
authorTony Cook <tony@develop=help.com>
Mon, 7 Jun 2004 04:58:01 +0000 (04:58 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 7 Jun 2004 04:58:01 +0000 (04:58 +0000)
          Imager was built with IM_NOLOG, fixed by renamed init_log()
          to m_init_log() in log.c

Changes
log.c

diff --git a/Changes b/Changes
index 539b61a35bec5bf449b14951a5358cc5ff8c39ff..33a21a5fcaa0af9fdeb59db40e8a5c25604fcdd4 100644 (file)
--- a/Changes
+++ b/Changes
@@ -761,6 +761,9 @@ Revision history for Perl extension Imager.
          pointers passed to TIFFClientOpen be non-NULL, the mmap() and
          munmap() pointers were always NULL and the sizeproc was
          sometimes NULL.
+        - there would be a link or load time error on m_init_log() if
+          Imager was built with IM_NOLOG, fixed by renamed init_log()
+          to m_init_log() in log.c
 
 =================================================================
 
diff --git a/log.c b/log.c
index 17aeb48009e3320628666cd1222cf6a60bcb7cbf..04e225a7d97f2e397323f02cdc01ca9ca91fb4ba 100644 (file)
--- a/log.c
+++ b/log.c
@@ -59,7 +59,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); }