diff options
author | Bruno Cabral <bcabral@uw.edu> | 2014-03-31 10:51:44 +0000 |
---|---|---|
committer | Bruno Cabral <bcabral@uw.edu> | 2014-03-31 10:51:44 +0000 |
commit | 8b42199487ca038f26e5fd2ef34ca9fd06fdd48e (patch) | |
tree | 95b68960cb99c77290b5fe6b93ff44cff17e3742 /src/include/gnunet_friends_lib.h | |
parent | cb97c355e390526adfd51769cd5f25fbac6aed85 (diff) | |
download | gnunet-8b42199487ca038f26e5fd2ef34ca9fd06fdd48e.tar.gz gnunet-8b42199487ca038f26e5fd2ef34ca9fd06fdd48e.zip |
Missing extern for C++
Diffstat (limited to 'src/include/gnunet_friends_lib.h')
-rw-r--r-- | src/include/gnunet_friends_lib.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 @@ | |||
26 | #ifndef GNUNET_FRIENDS_LIB_H | 26 | #ifndef GNUNET_FRIENDS_LIB_H |
27 | #define GNUNET_FRIENDS_LIB_H | 27 | #define GNUNET_FRIENDS_LIB_H |
28 | 28 | ||
29 | #ifdef __cplusplus | ||
30 | extern "C" | ||
31 | { | ||
32 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
33 | } | ||
34 | #endif | ||
35 | #endif | ||
36 | |||
29 | #include "gnunet_util_lib.h" | 37 | #include "gnunet_util_lib.h" |
30 | 38 | ||
31 | 39 | ||
@@ -92,4 +100,11 @@ GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, | |||
92 | const struct GNUNET_PeerIdentity *friend_id); | 100 | const struct GNUNET_PeerIdentity *friend_id); |
93 | 101 | ||
94 | 102 | ||
103 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
104 | { | ||
105 | #endif | ||
106 | #ifdef __cplusplus | ||
107 | } | ||
108 | #endif | ||
109 | |||
95 | #endif | 110 | #endif |