From: Martin Mares Date: Wed, 18 Jul 2012 12:14:35 +0000 (+0200) Subject: Fastbuf: Removed useless inline X-Git-Tag: v5.99~137 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6c22ba637f726209296c70cd8fd12bce77cf875e;p=libucw.git Fastbuf: Removed useless inline --- 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 */