diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-04-02 20:34:25 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-04-02 20:34:25 -0700 |
commit | 09f7be82a99edcff80355dbe5db197d66c819da6 (patch) | |
tree | e8631ed92561962779442fcc5b9d0a3c68f603da /gatchat/ringbuffer.h | |
parent | 764501482e5e0bafb0cee7d9dd16a69bce645d9c (diff) | |
download | ofono-09f7be82a99edcff80355dbe5db197d66c819da6.tar.bz2 |
Remove circular inclusion protection from ring buffer header
Diffstat (limited to 'gatchat/ringbuffer.h')
-rw-r--r-- | gatchat/ringbuffer.h | 13 |
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 */ |