X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Ffb-file.c;h=5394730b93fe3d4cadd559dee251b183baeea03c;hb=ae2b00416589dfe798fc40f0575f62a0c664798f;hp=d995451c75bfab283c56c1ab773bf306bdc1be84;hpb=f501fcf311379b78506474478a17d82382b753e4;p=libucw.git diff --git a/ucw/fb-file.c b/ucw/fb-file.c index d995451c..5394730b 100644 --- a/ucw/fb-file.c +++ b/ucw/fb-file.c @@ -8,9 +8,9 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" -#include "ucw/lfs.h" +#include +#include +#include #include #include @@ -25,7 +25,7 @@ struct fb_file { ucw_off_t wpos; /* Real file position */ uns wlen; /* Window size */ }; -#define FB_FILE(f) ((struct fb_file *)(f)->is_fastbuf) +#define FB_FILE(f) ((struct fb_file *)(f)) #define FB_BUFFER(f) (byte *)(FB_FILE(f) + 1) static int