fix compilation with c++
authorChristian Grothoff <christian@grothoff.org>
Sat, 16 Jun 2012 16:53:47 +0000 (16:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 16 Jun 2012 16:53:47 +0000 (16:53 +0000)
src/include/gnunet_hello_lib.h
src/include/gnunet_peer_lib.h

index ffddb0ba25f3b7d88612b46c824e636396967e51..244ec364855a0e74a97e9b7e2e655f0ed2e126c2 100644 (file)
@@ -331,6 +331,15 @@ GNUNET_HELLO_get_id (const struct GNUNET_HELLO_Message *hello,
 struct GNUNET_MessageHeader *
 GNUNET_HELLO_get_header (struct GNUNET_HELLO_Message *hello);
 
+
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+
 /* ifndef GNUNET_HELLO_LIB_H */
 #endif
 /* end of gnunet_hello_lib.h */
index 0121e84537a01470242f81ab9f90e68b0474ee12..617aca67c6a7a53d687aafbdee25d6c72395d4e4 100644 (file)
@@ -98,6 +98,14 @@ void
 GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid);
 
 
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+
 /* ifndef GNUNET_PEER_LIB_H */
 #endif
 /* end of gnunet_peer_lib.h */