diff options
author | Miles Bader <miles@gnu.org> | 1996-08-02 17:08:43 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-08-02 17:08:43 +0000 |
commit | 68863de34135a3a9645fb2d93d1ae462204eae5e (patch) | |
tree | 43ef00e31de33f1cec8bea195c77019272e34f60 /ext2fs/ext2_fs.h | |
parent | 776006d76f0cd04f1c0501e7bd651d3d7f235ba1 (diff) |
(ext2_debug_flag): New decl.
(ext2_debug): Pay attention to EXT2_DEBUG_FLAG.
Diffstat (limited to 'ext2fs/ext2_fs.h')
-rw-r--r-- | ext2fs/ext2_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/ext2_fs.h b/ext2fs/ext2_fs.h index d98e2625..9934ce85 100644 --- a/ext2fs/ext2_fs.h +++ b/ext2fs/ext2_fs.h @@ -62,8 +62,9 @@ typedef signed char s8; * Debug code */ #ifdef EXT2FS_DEBUG +extern int ext2_debug_flag; #define ext2_debug(f, a...) \ - do { printf ("ext2fs: (debug) %s: " f "\n", __FUNCTION__ , ## a); } while (0) + do { if (ext2_debug_flag) printf ("ext2fs: (debug) %s: " f "\n", __FUNCTION__ , ## a); } while (0) #else #define ext2_debug(f, a...) (void)0 #endif |