remove stdout/stderr calls
[compress.git] / debug.h
diff --git a/debug.h b/debug.h
index 64ec161eb9d09bb1b5a664ab5982783106a556b4..62fc38d71e5c713b10324456ed7493adc7c87226 100644 (file)
--- a/debug.h
+++ b/debug.h
@@ -1,16 +1,12 @@
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
-#include <stdio.h>
-#include "fprintf.h"
-
 /* constants */
 
 #define COMPRESS 1
 #define DECOMPRESS 2
 
 #define NB_CHARS 256
-#define BUFFER_SIZE 4096
 
 #define DEBUG 4
 #define INFO 3
@@ -23,7 +19,6 @@
 #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)
 
 /* gobal variables */