X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffb-mmap.c;h=08a96729044cec03cc2cd97686a19ffeb0e831eb;hb=d775f3ca9c8619bc1f0d2f98a9518fed60fe6658;hp=462fdaea80bcbdfee254c516fd9d39782447ba1d;hpb=f9d468ac1cc3eeefb37a394360f96773c125e47e;p=libucw.git diff --git a/lib/fb-mmap.c b/lib/fb-mmap.c index 462fdaea..08a96729 100644 --- a/lib/fb-mmap.c +++ b/lib/fb-mmap.c @@ -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 * @@ -12,7 +12,6 @@ #include "lib/lfs.h" #include "lib/conf.h" -#include #include #include #include @@ -22,16 +21,16 @@ 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 {