aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-01-18 15:08:26 +0000
committerBart Polot <bart@net.in.tum.de>2013-01-18 15:08:26 +0000
commit85c7ef583583c4424f774da10e46f7f1b1063ac7 (patch)
tree5576a0ad32254b6f261d3a65749420bd04716a57 /src
parentf0c32fd358a73a6c826539ba4ca214f4edd0c948 (diff)
downloadgnunet-85c7ef583583c4424f774da10e46f7f1b1063ac7.tar.gz
gnunet-85c7ef583583c4424f774da10e46f7f1b1063ac7.zip
- cpp guards
Diffstat (limited to 'src')
-rw-r--r--src/include/block_mesh.h15
-rw-r--r--src/mesh/mesh.h16
2 files changed, 31 insertions, 0 deletions
diff --git a/src/include/block_mesh.h b/src/include/block_mesh.h
index fe02f944c..9dfb85945 100644
--- a/src/include/block_mesh.h
+++ b/src/include/block_mesh.h
@@ -26,6 +26,14 @@
26#ifndef BLOCK_MESH_H 26#ifndef BLOCK_MESH_H
27#define BLOCK_MESH_H 27#define BLOCK_MESH_H
28 28
29#ifdef __cplusplus
30extern "C"
31{
32#if 0 /* keep Emacsens' auto-indent happy */
33}
34#endif
35#endif
36
29#include "gnunet_util_lib.h" 37#include "gnunet_util_lib.h"
30#include "gnunet_mesh_service.h" 38#include "gnunet_mesh_service.h"
31#include <stdint.h> 39#include <stdint.h>
@@ -46,4 +54,11 @@ struct PBlock
46 GNUNET_MESH_ApplicationType type; 54 GNUNET_MESH_ApplicationType type;
47}; 55};
48 56
57#if 0 /* keep Emacsens' auto-indent happy */
58{
59#endif
60#ifdef __cplusplus
61}
62#endif
63
49#endif \ No newline at end of file 64#endif \ No newline at end of file
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index e562846f0..a5a817c48 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -25,6 +25,15 @@
25 25
26#ifndef MESH_H_ 26#ifndef MESH_H_
27#define MESH_H_ 27#define MESH_H_
28
29#ifdef __cplusplus
30extern "C"
31{
32#if 0 /* keep Emacsens' auto-indent happy */
33}
34#endif
35#endif
36
28#include <stdint.h> 37#include <stdint.h>
29 38
30#define MESH_DEBUG GNUNET_YES 39#define MESH_DEBUG GNUNET_YES
@@ -435,4 +444,11 @@ GMC_min_pid (uint32_t a, uint32_t b);
435const char * 444const char *
436GNUNET_MESH_DEBUG_M2S (uint16_t m); 445GNUNET_MESH_DEBUG_M2S (uint16_t m);
437 446
447#if 0 /* keep Emacsens' auto-indent happy */
448{
449#endif
450#ifdef __cplusplus
451}
452#endif
453
438#endif 454#endif