X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fff-stkstring.c;h=986d8731249bb4bc9ddfeccda875915164efa2bb;hb=a6368763d08042207963c941b1c52b5fafcb0cb3;hp=50b2c3e81d7e5b3e42f51b650182d2c5ffb2ef4a;hpb=1cf8ac51f5495ccd5187dc220ffc69e95d6e0cfc;p=libucw.git diff --git a/ucw/ff-stkstring.c b/ucw/ff-stkstring.c index 50b2c3e8..986d8731 100644 --- a/ucw/ff-stkstring.c +++ b/ucw/ff-stkstring.c @@ -12,8 +12,8 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" +#include +#include void bgets_stk_init(struct bgets_stk_struct *s) @@ -35,7 +35,7 @@ void bgets_stk_step(struct bgets_stk_struct *s) { byte *buf = s->cur_buf; - uns buf_len = s->cur_len; + uint buf_len = s->cur_len; if (s->old_buf) { memcpy( s->cur_buf, s->old_buf, s->old_len); @@ -44,8 +44,8 @@ bgets_stk_step(struct bgets_stk_struct *s) } do { - uns cnt = MIN(s->src_len, buf_len); - for (uns i = cnt; i--;) + uint cnt = MIN(s->src_len, buf_len); + for (uint i = cnt; i--;) { byte v = *s->src++; if (v == '\n')