summaryrefslogtreecommitdiffstats
path: root/gatchat/ringbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ringbuffer.h')
-rw-r--r--gatchat/ringbuffer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gatchat/ringbuffer.h b/gatchat/ringbuffer.h
index 826f9aaf..486c182d 100644
--- a/gatchat/ringbuffer.h
+++ b/gatchat/ringbuffer.h
@@ -19,13 +19,6 @@
*
*/
-#ifndef __GATCHAT_RINGBUFFER_H
-#define __GATCHAT_RINGBUFFER_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct ring_buffer {
unsigned char *buffer;
unsigned int size;
@@ -116,9 +109,3 @@ int ring_buffer_len_no_wrap(struct ring_buffer *buf);
* read counter was actually advanced.
*/
int ring_buffer_drain(struct ring_buffer *buf, unsigned int len);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __GATCHAT_RINGBUFFER_H */