gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 8b42199487ca038f26e5fd2ef34ca9fd06fdd48e
parent cb97c355e390526adfd51769cd5f25fbac6aed85
Author: Bruno Cabral <bcabral@uw.edu>
Date:   Mon, 31 Mar 2014 10:51:44 +0000

Missing extern for C++

Diffstat:
Msrc/include/gnunet_friends_lib.h | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git 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