X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ffastbuf.c;h=c6f8a10bdd8aedb6a6e26efd6a240b956fd2e01a;hb=dae6c248288949e909510d256fe498bd23cc68bf;hp=ac6eaea7272b44676ec37d0e55cba1181541d2b6;hpb=fa7aa6d9457616ce28f97c83eaa616d0ff276870;p=libucw.git diff --git a/ucw/fastbuf.c b/ucw/fastbuf.c index ac6eaea7..c6f8a10b 100644 --- a/ucw/fastbuf.c +++ b/ucw/fastbuf.c @@ -108,7 +108,7 @@ static void do_seek(struct fastbuf *f, ucw_off_t pos, int whence) ASSERT(btell(f) >= 0); } -inline void bsetpos(struct fastbuf *f, ucw_off_t pos) +void bsetpos(struct fastbuf *f, ucw_off_t pos) { /* We can optimize seeks only when reading */ if (f->bptr < f->bstop && pos <= f->pos && pos >= f->pos - (f->bstop - f->buffer)) /* If bptr == bstop, then [buffer, bstop] may be undefined */