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