]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-mmap.c
Moved ucw/lfs.h to ucw/io.h
[libucw.git] / ucw / fb-mmap.c
index 5c6d314266f5427e15a09e9f0171c13b41fdadc2..2a8b53720304a94a75ee21ed75d57c20a3d58aa0 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "ucw/lib.h"
 #include "ucw/fastbuf.h"
 
 #include "ucw/lib.h"
 #include "ucw/fastbuf.h"
-#include "ucw/lfs.h"
+#include "ucw/io.h"
 #include "ucw/conf.h"
 
 #include <string.h>
 #include "ucw/conf.h"
 
 #include <string.h>
@@ -22,6 +22,7 @@
 static uns mmap_window_size = 16*CPU_PAGE_SIZE;
 static uns mmap_extend_size = 4*CPU_PAGE_SIZE;
 
 static uns mmap_window_size = 16*CPU_PAGE_SIZE;
 static uns mmap_extend_size = 4*CPU_PAGE_SIZE;
 
+#ifndef TEST
 static struct cf_section fbmm_config = {
   CF_ITEMS {
     CF_UNS("WindowSize", &mmap_window_size),
 static struct cf_section fbmm_config = {
   CF_ITEMS {
     CF_UNS("WindowSize", &mmap_window_size),
@@ -34,6 +35,7 @@ static void CONSTRUCTOR fbmm_init_config(void)
 {
   cf_declare_section("FBMMap", &fbmm_config, 0);
 }
 {
   cf_declare_section("FBMMap", &fbmm_config, 0);
 }
+#endif
 
 struct fb_mmap {
   struct fastbuf fb;
 
 struct fb_mmap {
   struct fastbuf fb;