aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-18 15:08:26 +0000
committerbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-18 15:08:26 +0000
commit38cb553a584c49318f53ef6743a8d7c4b8b475d1 (patch)
tree5576a0ad32254b6f261d3a65749420bd04716a57 /src/mesh
parent4bd784ce85543bf4b62ad7fb68aaafa60afcb6cc (diff)
- cpp guards
git-svn-id: https://gnunet.org/svn/gnunet@25832 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index e562846f0d..a5a817c486 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -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 @@ GMC_min_pid (uint32_t a, uint32_t b);
const char *
GNUNET_MESH_DEBUG_M2S (uint16_t m);
+#if 0 /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif