diff options
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 6 |
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); | |||
62 | typedef struct RingBuffer RingBuffer; | 62 | typedef struct RingBuffer RingBuffer; |
63 | bool rb_full(const RingBuffer *b); | 63 | bool rb_full(const RingBuffer *b); |
64 | bool rb_empty(const RingBuffer *b); | 64 | bool rb_empty(const RingBuffer *b); |
65 | void* rb_write(RingBuffer* b, void* p); | 65 | void *rb_write(RingBuffer *b, void *p); |
66 | bool rb_read(RingBuffer* b, void** p); | 66 | bool rb_read(RingBuffer *b, void **p); |
67 | RingBuffer *rb_new(int size); | 67 | RingBuffer *rb_new(int size); |
68 | void rb_kill(RingBuffer *b); | 68 | void rb_kill(RingBuffer *b); |
69 | uint16_t rb_size(const RingBuffer *b); | 69 | uint16_t rb_size(const RingBuffer *b); |
70 | uint16_t rb_data(const RingBuffer* b, void** dest); | 70 | uint16_t rb_data(const RingBuffer *b, void **dest); |
71 | 71 | ||
72 | #endif /* __UTIL_H__ */ | 72 | #endif /* __UTIL_H__ */ |