Skip to content

Commit

Permalink
added missing "extern C" to csp_if_zmqhub.h
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zadim authored and clorch committed Apr 4, 2019
1 parent 5235fb4 commit dcd7211
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/csp/interfaces/csp_if_zmqhub.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

#include <csp/csp.h>

#ifdef __cplusplus
extern "C" {
#endif

extern csp_iface_t csp_if_zmqhub;

/**
Expand All @@ -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 dcd7211

Please sign in to comment.