From 09f7be82a99edcff80355dbe5db197d66c819da6 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 2 Apr 2010 20:34:25 -0700 Subject: [PATCH] Remove circular inclusion protection from ring buffer header --- gatchat/ringbuffer.h | 13 ------------- 1 file changed, 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 */