patch-2.4.10 linux/fs/ntfs/support.h

Next file: linux/fs/ntfs/unistr.c
Previous file: linux/fs/ntfs/support.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/fs/ntfs/support.h linux/fs/ntfs/support.h
@@ -19,7 +19,11 @@
 #define DEBUG_NAME1  1024
 #define DEBUG_NAME2  2048
 
+#ifdef DEBUG
 void ntfs_debug(int mask, const char *fmt, ...);
+#else
+#define ntfs_debug(mask, fmt...)	do {} while (0)
+#endif
 
 #include <linux/slab.h>
 #include <linux/vmalloc.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)