change private function calls
[compress.git] / debug.h
diff --git a/debug.h b/debug.h
index 01cc89076f827b095eb5d6e8707f5e0f55461a01..a0d26f7c35ebc990b2d3b255671b6d83af2f50a7 100644 (file)
--- a/debug.h
+++ b/debug.h
@@ -1,6 +1,9 @@
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
+#include <stdio.h>
+#include "fprintf.h"
+
 /* constants */
 
 #define COMPRESS 1
@@ -20,7 +23,7 @@
 #define MIN(x, y) (((x) < (y)) ? (x) : (y))
 #define MAX(x, y) (((x) > (y)) ? (x) : (y))
 #define VERBOSE(level, statement...) do { if (level <= verbose) { statement; } } while(0)
-#define PRINTF(args...) do { fprintf (stdout, args); fflush (stdout); } while (0)
+#define PRINTF(args...) do { myfprintf (stdout, args); fflush (stdout); } while (0)
 
 /* gobal variables */
 
@@ -28,4 +31,4 @@ extern int verbose;
 
 #endif /* __DEBUG_H__ */
 
-// vim: ts=4 sw=4 et
+/* vim: set ts=4 sw=4 et */