gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25832 - in gnunet/src: include mesh


From: gnunet
Subject: [GNUnet-SVN] r25832 - in gnunet/src: include mesh
Date: Fri, 18 Jan 2013 16:08:27 +0100

Author: bartpolot
Date: 2013-01-18 16:08:26 +0100 (Fri, 18 Jan 2013)
New Revision: 25832

Modified:
   gnunet/src/include/block_mesh.h
   gnunet/src/mesh/mesh.h
Log:
- cpp guards

Modified: gnunet/src/include/block_mesh.h
===================================================================
--- gnunet/src/include/block_mesh.h     2013-01-18 14:07:05 UTC (rev 25831)
+++ gnunet/src/include/block_mesh.h     2013-01-18 15:08:26 UTC (rev 25832)
@@ -26,6 +26,14 @@
 #ifndef BLOCK_MESH_H
 #define BLOCK_MESH_H
 
+#ifdef __cplusplus
+extern "C"
+{
+#if 0                           /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
 #include "gnunet_util_lib.h"
 #include "gnunet_mesh_service.h"
 #include <stdint.h>
@@ -46,4 +54,11 @@
   GNUNET_MESH_ApplicationType type;
 };
 
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
 #endif
\ No newline at end of file

Modified: gnunet/src/mesh/mesh.h
===================================================================
--- gnunet/src/mesh/mesh.h      2013-01-18 14:07:05 UTC (rev 25831)
+++ gnunet/src/mesh/mesh.h      2013-01-18 15:08:26 UTC (rev 25832)
@@ -25,6 +25,15 @@
 
 #ifndef MESH_H_
 #define MESH_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#if 0                           /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
 #include <stdint.h>
 
 #define MESH_DEBUG              GNUNET_YES
@@ -435,4 +444,11 @@
 const char *
 GNUNET_MESH_DEBUG_M2S (uint16_t m);
 
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
 #endif
+#ifdef __cplusplus
+}
+#endif
+
+#endif




reply via email to

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