summaryrefslogtreecommitdiffstats
path: root/gatchat/ringbuffer.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-02 21:51:19 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-04-02 21:51:19 -0700
commit352ea97f8fb4977d2d3ae086472ee6c3032dc21f (patch)
tree867dbed7383ce3c1448af3a4035ce3d0b2f242aa /gatchat/ringbuffer.h
parent09f7be82a99edcff80355dbe5db197d66c819da6 (diff)
downloadofono-352ea97f8fb4977d2d3ae086472ee6c3032dc21f.tar.bz2
Hide internals of ring buffer structure
Diffstat (limited to 'gatchat/ringbuffer.h')
-rw-r--r--gatchat/ringbuffer.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gatchat/ringbuffer.h b/gatchat/ringbuffer.h
index 486c182d..f1bf3b8d 100644
--- a/gatchat/ringbuffer.h
+++ b/gatchat/ringbuffer.h
@@ -19,12 +19,7 @@
*
*/
-struct ring_buffer {
- unsigned char *buffer;
- unsigned int size;
- unsigned int in;
- unsigned int out;
-};
+struct ring_buffer;
/*!
* Creates a new ring buffer with capacity size