063c337
From 45573903a0caa9b0e2d003a70f5b605ce610545b Mon Sep 17 00:00:00 2001
063c337
From: Jakub Filak <jfilak@redhat.com>
063c337
Date: Mon, 7 Mar 2016 08:05:42 +0100
063c337
Subject: [PATCH] workflow: add extern C to the header file
063c337
063c337
Signed-off-by: Jakub Filak <jfilak@redhat.com>
063c337
---
063c337
 src/include/workflow.h | 8 ++++++++
063c337
 1 file changed, 8 insertions(+)
063c337
063c337
diff --git a/src/include/workflow.h b/src/include/workflow.h
063c337
index d79708e..058c362 100644
063c337
--- a/src/include/workflow.h
063c337
+++ b/src/include/workflow.h
063c337
@@ -23,6 +23,10 @@
063c337
 #include "event_config.h"
063c337
 #include "config_item_info.h"
063c337
 
063c337
+#ifdef __cplusplus
063c337
+extern "C" {
063c337
+#endif
063c337
+
063c337
 typedef struct workflow workflow_t;
063c337
 
063c337
 extern GHashTable *g_workflow_list;
063c337
@@ -56,4 +60,8 @@ int wf_priority_compare(const workflow_t *first, const workflow_t *second);
063c337
 
063c337
 GHashTable *load_workflow_config_data_from_list(GList *wf_names, const char *path);
063c337
 
063c337
+#ifdef __cplusplus
063c337
+}
063c337
+#endif
063c337
+
063c337
 #endif
063c337
-- 
063c337
2.5.5
063c337