From 04da516ba339def537ee19f2210b07d11c2218f4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 5 Jul 2012 13:46:02 +0000 Subject: -cpp fix --- src/include/gnunet_common.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/include/gnunet_common.h') diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index e0a827911..c744ec65f 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -46,6 +46,14 @@ #include #endif +#ifdef __cplusplus +extern "C" +{ +#if 0 /* keep Emacsens' auto-indent happy */ +} +#endif +#endif + /** * Version of the API (for entire gnunetutil.so library). */ @@ -857,4 +865,17 @@ GNUNET_copy_message (const struct GNUNET_MessageHeader *msg); #endif #endif + + + +#if 0 /* keep Emacsens' auto-indent happy */ +{ +#endif +#ifdef __cplusplus +} +#endif + + + + #endif /*GNUNET_COMMON_H_ */ -- cgit v1.2.3