Skip to content
Permalink
Browse files

Merge pull request #125 from FraunhoferEMI/zmqhubcpp

Added missing "extern C" to csp_if_zmqhub.h
  • Loading branch information...
perwulff committed Jun 20, 2019
2 parents 2f0f1ac + dcd7211 commit 8812ddab6314a287f0754f4a947b9e4032a645aa
Showing with 8 additions and 0 deletions.
  1. +8 −0 include/csp/interfaces/csp_if_zmqhub.h
@@ -3,6 +3,10 @@

#include <csp/csp.h>

#ifdef __cplusplus
extern "C" {
#endif

extern csp_iface_t csp_if_zmqhub;

/**
@@ -23,4 +27,8 @@ int csp_zmqhub_init(char addr, char * host);
int csp_zmqhub_init_w_endpoints(char _addr, char * publisher_url,
char * subscriber_url);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* CSP_IF_ZMQHUB_H_ */

0 comments on commit 8812dda

Please sign in to comment.
You can’t perform that action at this time.