From 6c684df061a3c09da94834c2d9008eb90811b242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 4 Apr 2007 18:09:14 +0200 Subject: Reorder and pack the structures that are defined inside compilation units instead of headers (and thus are not part of public ABI). --- src/xine-utils/ring_buffer.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/xine-utils/ring_buffer.c') diff --git a/src/xine-utils/ring_buffer.c b/src/xine-utils/ring_buffer.c index 0dfd370f1..dc8ddbf80 100644 --- a/src/xine-utils/ring_buffer.c +++ b/src/xine-utils/ring_buffer.c @@ -70,11 +70,12 @@ struct xine_ring_buffer_s { uint8_t *buffer_end; size_t free_size; /* size of the free zone */ - pthread_cond_t free_size_cond; - int free_size_needed; - size_t full_size; /* size of the full zone */ + + pthread_cond_t free_size_cond; pthread_cond_t full_size_cond; + + int free_size_needed; int full_size_needed; xine_pool_t *chunk_pool; @@ -84,9 +85,9 @@ struct xine_ring_buffer_s { uint8_t *extra_buffer; size_t extra_buffer_size; - int EOS; - pthread_mutex_t lock; + + int EOS; }; /* Constructor */ -- cgit v1.2.3