From a243977026703e536db2f33099cb34d10aa8a783 Mon Sep 17 00:00:00 2001
From: jan Iversen <jani@libreoffice.org>
Date: Tue, 22 May 2018 08:14:06 +0200
Subject: core: add ssrf.h as global product header

ssrf contains macros/includes etc. used in ssrf, but
not related to dives (mainly in dive.h)

currently the header is created to add the macro UNUSED
later it will be used to remove non-dive related items
from dive.h

Signed-off-by: Jan Iversen <jani@apache.org>
---
 core/ssrf.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 core/ssrf.h

diff --git a/core/ssrf.h b/core/ssrf.h
new file mode 100644
index 000000000..a07436d80
--- /dev/null
+++ b/core/ssrf.h
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef SSRF_H
+#define SSRF_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#ifdef __cplusplus
+}
+#else
+
+// Macro to be used for silencing unused parameters
+#define UNUSED(x) (void)x
+#endif
+
+#endif // SSRF_H
-- 
cgit v1.2.3-70-g09d2