X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ffb-mem.c;h=77ad43d94f09573bd53d721aee8ff969db6c7c8c;hb=156301aa8c7fd24d49ed27cfbd1afc10ccb7bc58;hp=2752c240e4a62bc4d10866bff68773b30bd924a6;hpb=7cd23fb20722d8101fdfb4017f826a86663776bc;p=libucw.git diff --git a/ucw/fb-mem.c b/ucw/fb-mem.c index 2752c240..77ad43d9 100644 --- a/ucw/fb-mem.c +++ b/ucw/fb-mem.c @@ -7,21 +7,21 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" +#include +#include #include struct memstream { - unsigned blocksize; - unsigned uc; + uint blocksize; + uint uc; struct msblock *first; }; struct msblock { struct msblock *next; ucw_off_t pos; - unsigned size; + uint size; byte data[0]; }; @@ -150,7 +150,7 @@ fbmem_close(struct fastbuf *f) } struct fastbuf * -fbmem_create(unsigned blocksize) +fbmem_create(uint blocksize) { struct fastbuf *f = xmalloc_zero(sizeof(struct fb_mem)); struct memstream *s = xmalloc_zero(sizeof(struct memstream));