summaryrefslogtreecommitdiffstats
path: root/aclk/helpers/ringbuffer_pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/helpers/ringbuffer_pal.h')
-rw-r--r--aclk/helpers/ringbuffer_pal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/aclk/helpers/ringbuffer_pal.h b/aclk/helpers/ringbuffer_pal.h
new file mode 100644
index 000000000..2f7e1cb93
--- /dev/null
+++ b/aclk/helpers/ringbuffer_pal.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef RINGBUFFER_PAL_H
+#define RINGBUFFER_PAL_H
+
+#include "libnetdata/libnetdata.h"
+
+#define crbuf_malloc(...) mallocz(__VA_ARGS__)
+#define crbuf_free(...) freez(__VA_ARGS__)
+
+#endif /* RINGBUFFER_PAL_H */