From 814b32346adf9405041af2a6d7a1a8164703f3f9 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 19 Dec 2012 12:09:53 +0000 Subject: [PATCH] - c++ guards --- src/mesh/mesh_test_lib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/mesh/mesh_test_lib.h b/src/mesh/mesh_test_lib.h index adc031c39..554d06541 100644 --- a/src/mesh/mesh_test_lib.h +++ b/src/mesh/mesh_test_lib.h @@ -25,6 +25,14 @@ #ifndef MESH_TEST_LIB_H #define MESH_TEST_LIB_H +#ifdef __cplusplus +extern "C" +{ +#if 0 /* keep Emacsens' auto-indent happy */ +} +#endif +#endif + #include "gnunet_testbed_service.h" #include "gnunet_mesh_service.h" @@ -86,4 +94,13 @@ void GNUNET_MESH_TEST_cleanup (struct GNUNET_MESH_TEST_Context *ctx); +#if 0 /* keep Emacsens' auto-indent happy */ +{ +#endif +#ifdef __cplusplus +} +#endif + + +/* ifndef MESH_TEST_LIB_H */ #endif -- 2.25.1