projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb97c35
)
Missing extern for C++
author
Bruno Cabral
<bcabral@uw.edu>
Mon, 31 Mar 2014 10:51:44 +0000
(10:51 +0000)
committer
Bruno Cabral
<bcabral@uw.edu>
Mon, 31 Mar 2014 10:51:44 +0000
(10:51 +0000)
src/include/gnunet_friends_lib.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_friends_lib.h
b/src/include/gnunet_friends_lib.h
index a6078765474359656af5cf9c27058cea0da5d17f..d12f7f9910476c47fdbb5cbe83575bbafddbd001 100644
(file)
--- 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