You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/11/09 18:07:05 UTC

[celix] 01/01: Fixes wrong ifdef __cplusplus marcro for extern "C"

This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch hotfix/wrong_ifdef_cplusplus
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 5216a30f393ab1af9ed2a3db1c885b1d40c09535
Author: Pepijn Noltes <pn...@apache.org>
AuthorDate: Tue Nov 9 19:06:54 2021 +0100

    Fixes wrong ifdef __cplusplus marcro for extern "C"
---
 bundles/pubsub/pubsub_spi/include/pubsub_interceptors_handler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/pubsub/pubsub_spi/include/pubsub_interceptors_handler.h b/bundles/pubsub/pubsub_spi/include/pubsub_interceptors_handler.h
index 4d8c58d..88c0d09 100644
--- a/bundles/pubsub/pubsub_spi/include/pubsub_interceptors_handler.h
+++ b/bundles/pubsub/pubsub_spi/include/pubsub_interceptors_handler.h
@@ -20,7 +20,7 @@
 #define PUBSUB_INTERCEPTORS_HANDLER_H
 
 #ifdef __cplusplus
-}
+extern "C" {
 #endif
 
 #include <stdint.h>