Commit 76bc28ab authored by Max Kellermann's avatar Max Kellermann

fifo_buffer: add extern "C"

parent f47f86ef
......@@ -22,8 +22,8 @@
#include "ClientList.hxx"
#include "Partition.hxx"
#include "fd_util.h"
extern "C" {
#include "fifo_buffer.h"
extern "C" {
#include "resolver.h"
}
#include "Permission.hxx"
......
......@@ -19,10 +19,7 @@
#include "config.h"
#include "ClientInternal.hxx"
extern "C" {
#include "fifo_buffer.h"
}
#include <assert.h>
#include <string.h>
......
......@@ -19,11 +19,7 @@
#include "config.h"
#include "InotifySource.hxx"
extern "C" {
#include "fifo_buffer.h"
}
#include "fd_util.h"
#include "mpd_error.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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment