]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-atomic.c
Merge branch 'dev-lib'
[libucw.git] / ucw / fb-atomic.c
index b117928971f848f616e82d22c4647081cef258b8..32c9ca9bfe3facd3da41bc29537bd2f321fd9916 100644 (file)
@@ -18,6 +18,8 @@
 
 static uns trace;
 
+#ifndef TEST
+
 static struct cf_section fbatomic_config = {
   CF_ITEMS {
     CF_UNS("Trace", &trace)
@@ -29,6 +31,8 @@ static void CONSTRUCTOR fbatomic_init_config(void)
   cf_declare_section("FBAtomic", &fbatomic_config, 1);
 }
 
+#endif
+
 #define TRACE(m...) do { if(trace) msg(L_DEBUG, "FB_ATOMIC: " m); } while(0)
 
 struct fb_atomic_file {