diff src/format_raw.c @ 507:135570a8bd96

Move debug macros from main.h to new debug.h. Make debug_level static to debug.c and add utility functions to manipulate it. Add #include "debug.h" where needed.
author zas_
date Thu, 24 Apr 2008 08:53:39 +0000
parents fc9c8a3e1a8b
children 116346636d42
line wrap: on
line diff
--- a/src/format_raw.c	Thu Apr 24 00:15:03 2008 +0000
+++ b/src/format_raw.c	Thu Apr 24 08:53:39 2008 +0000
@@ -31,15 +31,12 @@
 #include "main.h"
 #include "format_raw.h"
 
+#include "debug.h"
 #include "format_canon.h"
 #include "format_fuji.h"
 #include "format_nikon.h"
 #include "format_olympus.h"
 
-#ifdef DEBUG
-/* so that debugging is honored */
-extern gint debug;
-#endif
 
 typedef struct _FormatRawEntry FormatRawEntry;
 struct _FormatRawEntry {