From: Christian Grothoff Date: Sat, 16 Jun 2012 16:53:47 +0000 (+0000) Subject: fix compilation with c++ X-Git-Tag: initial-import-from-subversion-38251~13025 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7028ad967e99bfdef4938a26442b8466730f666b;p=oweals%2Fgnunet.git fix compilation with c++ --- diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index ffddb0ba2..244ec3648 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h @@ -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 */ diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h index 0121e8453..617aca67c 100644 --- a/src/include/gnunet_peer_lib.h +++ b/src/include/gnunet_peer_lib.h @@ -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 */