From 76bc28ab1e4ce17926905cbdae455cee8e275a1d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Jan 2013 01:01:25 +0100 Subject: fifo_buffer: add extern "C" --- src/fifo_buffer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/fifo_buffer.h') diff --git a/src/fifo_buffer.h b/src/fifo_buffer.h index 3bdb23938..49c7f4992 100644 --- a/src/fifo_buffer.h +++ b/src/fifo_buffer.h @@ -46,6 +46,10 @@ struct fifo_buffer; +#ifdef __cplusplus +extern "C" { +#endif + /** * Creates a new #fifo_buffer object. Free this object with * fifo_buffer_free(). @@ -150,4 +154,8 @@ fifo_buffer_is_empty(struct fifo_buffer *buffer); bool fifo_buffer_is_full(struct fifo_buffer *buffer); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3