X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ffb-temp.c;h=3ffa08c3fec99644ba1efac9cc5283e17093e99d;hb=959566090f98dd31eaa67d3d5959b641e5fe902b;hp=d9a31274ad7bc126ff27841981dc4295702d4446;hpb=f501fcf311379b78506474478a17d82382b753e4;p=libucw.git diff --git a/ucw/fb-temp.c b/ucw/fb-temp.c index d9a31274..3ffa08c3 100644 --- a/ucw/fb-temp.c +++ b/ucw/fb-temp.c @@ -8,8 +8,8 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" +#include +#include #include #include @@ -25,7 +25,7 @@ bopen_tmp_file(struct fb_params *params) } struct fastbuf * -bopen_tmp(uns buflen) +bopen_tmp(uint buflen) { return bopen_tmp_file(&(struct fb_params){ .type = FB_STD, .buffer_size = buflen }); } @@ -41,7 +41,7 @@ void bfix_tmp_file(struct fastbuf *fb, const char *name) #ifdef TEST -#include "ucw/getopt.h" +#include int main(int argc, char **argv) {