summaryrefslogtreecommitdiffstats
path: root/test/tests.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 15:22:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 15:22:05 +0100
commitc271eb36656a4ff88a9c8c1d59934949260275a3 (patch)
tree3dd586e38b5b37cfebc7c12b6ff6f434904167c7 /test/tests.h
parentb266445f47dec06392a7e058f499325fa3c052b9 (diff)
downloadrspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.tar.gz
rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.zip
[Rework] Add C++ guards to all headers
Diffstat (limited to 'test/tests.h')
-rw-r--r--test/tests.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/tests.h b/test/tests.h
index 56562ae8c..95eef354d 100644
--- a/test/tests.h
+++ b/test/tests.h
@@ -5,6 +5,10 @@
* Here are described test functions for rspamd test suite
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* URL parser test */
void rspamd_url_test_func (void);
@@ -38,6 +42,10 @@ void rspamd_cryptobox_test_func (void);
void rspamd_heap_test_func (void);
-void rspamd_lua_lua_pcall_vs_resume_test_func(void);
+void rspamd_lua_lua_pcall_vs_resume_test_func (void);
+
+#ifdef __cplusplus
+}
+#endif
#endif