diff options
author | Max Kellermann <max@duempel.org> | 2013-01-15 01:01:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-15 01:01:25 +0100 |
commit | 76bc28ab1e4ce17926905cbdae455cee8e275a1d (patch) | |
tree | 76b2b839842f95ff6961985c8dacf0fa3b5cb0b1 /src/fifo_buffer.h | |
parent | f47f86ef020074728d30e9602f5fceec02315a88 (diff) | |
download | mpd-76bc28ab1e4ce17926905cbdae455cee8e275a1d.tar.gz mpd-76bc28ab1e4ce17926905cbdae455cee8e275a1d.tar.xz mpd-76bc28ab1e4ce17926905cbdae455cee8e275a1d.zip |
fifo_buffer: add extern "C"
Diffstat (limited to 'src/fifo_buffer.h')
-rw-r--r-- | src/fifo_buffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |