From 8b42199487ca038f26e5fd2ef34ca9fd06fdd48e Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Mon, 31 Mar 2014 10:51:44 +0000 Subject: [PATCH] Missing extern for C++ --- src/include/gnunet_friends_lib.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/include/gnunet_friends_lib.h b/src/include/gnunet_friends_lib.h index a60787654..d12f7f991 100644 --- a/src/include/gnunet_friends_lib.h +++ b/src/include/gnunet_friends_lib.h @@ -26,6 +26,14 @@ #ifndef GNUNET_FRIENDS_LIB_H #define GNUNET_FRIENDS_LIB_H +#ifdef __cplusplus +extern "C" +{ +#if 0 /* keep Emacsens' auto-indent happy */ +} +#endif +#endif + #include "gnunet_util_lib.h" @@ -92,4 +100,11 @@ GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, const struct GNUNET_PeerIdentity *friend_id); + #if 0 /* keep Emacsens' auto-indent happy */ +{ +#endif +#ifdef __cplusplus +} +#endif + #endif -- 2.25.1