]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-mmap.c
IP parsing code moved to lib/conf.c, closes Bug #2375.
[libucw.git] / lib / fb-mmap.c
index 462fdaea80bcbdfee254c516fd9d39782447ba1d..08a96729044cec03cc2cd97686a19ffeb0e831eb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Fast Buffered I/O on Memory-Mapped Files
+ *     UCW Library -- Fast Buffered I/O on Memory-Mapped Files
  *
  *     (c) 2002 Martin Mares <mj@ucw.cz>
  *
@@ -12,7 +12,6 @@
 #include "lib/lfs.h"
 #include "lib/conf.h"
 
-#include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
 static uns mmap_window_size = 16*PAGE_SIZE;
 static uns mmap_extend_size = 4*PAGE_SIZE;
 
-static struct cfitem obuck_config[] = {
+static struct cfitem fbmm_config[] = {
   { "FBMMap",          CT_SECTION,     NULL },
   { "WindowSize",      CT_INT,         &mmap_window_size },
   { "ExtendSize",      CT_INT,         &mmap_extend_size },
   { NULL,              CT_STOP,        NULL }
 };
 
-static void CONSTRUCTOR obuck_init_config(void)
+static void CONSTRUCTOR fbmm_init_config(void)
 {
-  cf_register(obuck_config);
+  cf_register(fbmm_config);
 }
 
 struct fb_mmap {