gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32842 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r32842 - gnunet/src/include
Date: Mon, 31 Mar 2014 12:51:44 +0200

Author: bratao
Date: 2014-03-31 12:51:44 +0200 (Mon, 31 Mar 2014)
New Revision: 32842

Modified:
   gnunet/src/include/gnunet_friends_lib.h
Log:
Missing extern for C++

Modified: gnunet/src/include/gnunet_friends_lib.h
===================================================================
--- gnunet/src/include/gnunet_friends_lib.h     2014-03-31 09:38:08 UTC (rev 
32841)
+++ gnunet/src/include/gnunet_friends_lib.h     2014-03-31 10:51:44 UTC (rev 
32842)
@@ -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 @@
                       const struct GNUNET_PeerIdentity *friend_id);
 
 
+                                         #if 0                           /* 
keep Emacsens' auto-indent happy */
+{
 #endif
+#ifdef __cplusplus
+}
+#endif
+
+#endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]