summaryrefslogtreecommitdiff
path: root/toxcore/util.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-11-03 13:42:05 -0500
committerirungentoo <irungentoo@gmail.com>2015-11-03 13:42:05 -0500
commit6a494e2cbdd146bb13185d8220061322661a5f5a (patch)
tree6cb23bca09894cde6173bc7a362a112d72872215 /toxcore/util.h
parentf435e94397feb3121ef334de6873b93adaaf01dd (diff)
Astyle.
Diffstat (limited to 'toxcore/util.h')
-rw-r--r--toxcore/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/util.h b/toxcore/util.h
index 7cf63178..bdbf7d3b 100644
--- a/toxcore/util.h
+++ b/toxcore/util.h
@@ -62,11 +62,11 @@ int create_recursive_mutex(pthread_mutex_t *mutex);
62typedef struct RingBuffer RingBuffer; 62typedef struct RingBuffer RingBuffer;
63bool rb_full(const RingBuffer *b); 63bool rb_full(const RingBuffer *b);
64bool rb_empty(const RingBuffer *b); 64bool rb_empty(const RingBuffer *b);
65void* rb_write(RingBuffer* b, void* p); 65void *rb_write(RingBuffer *b, void *p);
66bool rb_read(RingBuffer* b, void** p); 66bool rb_read(RingBuffer *b, void **p);
67RingBuffer *rb_new(int size); 67RingBuffer *rb_new(int size);
68void rb_kill(RingBuffer *b); 68void rb_kill(RingBuffer *b);
69uint16_t rb_size(const RingBuffer *b); 69uint16_t rb_size(const RingBuffer *b);
70uint16_t rb_data(const RingBuffer* b, void** dest); 70uint16_t rb_data(const RingBuffer *b, void **dest);
71 71
72#endif /* __UTIL_H__ */ 72#endif /* __UTIL_H__ */