X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ffb-file.c;h=5394730b93fe3d4cadd559dee251b183baeea03c;hb=2a97a3c705846855ca3b12f408426314c72d37bd;hp=6151e59c14c73ff258c3669dea482408fe4ab31f;hpb=ba1c173f544383aa6553a75dee6e6858d8f243a4;p=libucw.git diff --git a/ucw/fb-file.c b/ucw/fb-file.c index 6151e59c..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/io.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