From 4a180410c9bb7ae76a3961c297ce1d7a9cce44fa Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Tue, 18 Mar 2003 21:15:10 +0000 Subject: fix comment and rename 'struct dvb_ringbuffer_s' to 'struct dvb_ringbuffer' --- linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h b/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h index 19322ee1e..3bbcb2896 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h +++ b/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h @@ -33,7 +33,7 @@ #define _DVB_RINGBUFFER_H_ -typedef struct dvb_ringbuffer_s { +typedef struct dvb_ringbuffer { u8 *data; ssize_t size; ssize_t pread; @@ -59,7 +59,7 @@ typedef struct dvb_ringbuffer_s { ** ... ** ** *** read min. 1000, max. bytes *** -** avail = dvb_ringbuffer_available(rbuf); +** avail = dvb_ringbuffer_avail(rbuf); ** if (avail >= 1000) ** count = dvb_ringbuffer_read(rbuf, buffer, min(avail, bufsize), 0); ** else -- cgit v1.2.3