Remove spurious rotbuf_log() declaration, fixes #75

This commit is contained in:
Andrew Bettison 2014-04-03 10:43:14 +10:30
parent 76cce8fe7e
commit 1dea703d18

View File

@ -133,8 +133,6 @@ __ROTBUF_INLINE size_t rotbuf_count(struct rotbuf *rb)
return rb->wrap ? (size_t)((rb->ebuf - rb->buf) + rb->wrap - 1) : rotbuf_position(rb); return rb->wrap ? (size_t)((rb->ebuf - rb->buf) + rb->wrap - 1) : rotbuf_position(rb);
} }
void rotbuf_log(struct __sourceloc __whence, int log_level, const char *prefix, const struct rotbuf *rb);
/* Advance the cursor by a given number of bytes (non negative). Advancing the cursor over the /* Advance the cursor by a given number of bytes (non negative). Advancing the cursor over the
* final byte in the buffer sets the 'wrap' counter to 1. All further advances are simply added to * final byte in the buffer sets the 'wrap' counter to 1. All further advances are simply added to
* the 'wrap' counter. * the 'wrap' counter.