]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fastbuf.c
gary: Added GARY_INIT_SPACE(_ZERO)
[libucw.git] / ucw / fastbuf.c
index ac6eaea7272b44676ec37d0e55cba1181541d2b6..c6f8a10bdd8aedb6a6e26efd6a240b956fd2e01a 100644 (file)
@@ -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 */