aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2014-03-07 14:51:33 +0000
committerFlorian Dold <florian.dold@gmail.com>2014-03-07 14:51:33 +0000
commitc1fe0ed0ba3d599f5b593ad863b69f73e7fd4625 (patch)
treea7575c7b5cffd7ed4ae7354091d8b841fe4227cd
parent2ba62f67da9b2ae94d3d33c56fa9664082c83d94 (diff)
downloadgnunet-c1fe0ed0ba3d599f5b593ad863b69f73e7fd4625.tar.gz
gnunet-c1fe0ed0ba3d599f5b593ad863b69f73e7fd4625.zip
add missing ifdefs in header files
-rw-r--r--src/include/gnunet_transport_plugin.h2
-rw-r--r--src/peerinfo/peerinfo.h7
-rw-r--r--src/transport/plugin_transport_http.h4
-rw-r--r--src/transport/plugin_transport_udp.h5
4 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h
index f1092e949..675980549 100644
--- a/src/include/gnunet_transport_plugin.h
+++ b/src/include/gnunet_transport_plugin.h
@@ -654,4 +654,6 @@ struct GNUNET_TRANSPORT_PluginFunctions
654}; 654};
655 655
656 656
657/*#ifndef PLUGIN_TRANSPORT_H*/
657#endif 658#endif
659/* end of gnunet_transport_plugin.h */
diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h
index bd981c2d4..c76f9bba3 100644
--- a/src/peerinfo/peerinfo.h
+++ b/src/peerinfo/peerinfo.h
@@ -23,11 +23,16 @@
23 * @brief common internal definitions for peerinfo service 23 * @brief common internal definitions for peerinfo service
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26
27#ifndef PEERINFO_H
28#define PEERINFO_H
29
26#include "gnunet_crypto_lib.h" 30#include "gnunet_crypto_lib.h"
27#include "gnunet_time_lib.h" 31#include "gnunet_time_lib.h"
28#include "gnunet_peerinfo_service.h" 32#include "gnunet_peerinfo_service.h"
29 33
30 34
35
31GNUNET_NETWORK_STRUCT_BEGIN 36GNUNET_NETWORK_STRUCT_BEGIN
32 37
33/** 38/**
@@ -120,4 +125,6 @@ struct InfoMessage
120}; 125};
121GNUNET_NETWORK_STRUCT_END 126GNUNET_NETWORK_STRUCT_END
122 127
128/*#ifndef PEERINFO_H*/
129#endif
123/* end of peerinfo.h */ 130/* end of peerinfo.h */
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h
index 1ac2f9859..2fb827be3 100644
--- a/src/transport/plugin_transport_http.h
+++ b/src/transport/plugin_transport_http.h
@@ -23,6 +23,8 @@
23 * @brief http transport service plugin 23 * @brief http transport service plugin
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 */ 25 */
26#ifndef PLUGIN_TRANSPORT_HTTP_H
27#define PLUGIN_TRANSPORT_HTTP_H
26 28
27#include "platform.h" 29#include "platform.h"
28#include "gnunet_common.h" 30#include "gnunet_common.h"
@@ -579,4 +581,6 @@ void
579notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, 581notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
580 struct Session *s); 582 struct Session *s);
581 583
584/*#ifndef PLUGIN_TRANSPORT_HTTP_H*/
585#endif
582/* end of plugin_transport_http.h */ 586/* end of plugin_transport_http.h */
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h
index 1994fa5e2..62352f9fc 100644
--- a/src/transport/plugin_transport_udp.h
+++ b/src/transport/plugin_transport_udp.h
@@ -25,6 +25,9 @@
25 * @author Nathan Evans 25 * @author Nathan Evans
26 * @author Matthias Wachs 26 * @author Matthias Wachs
27 */ 27 */
28#ifndef PLUGIN_TRANSPORT_UDP_H
29#define PLUGIN_TRANSPORT_UDP_H
30
28#include "platform.h" 31#include "platform.h"
29#include "gnunet_hello_lib.h" 32#include "gnunet_hello_lib.h"
30#include "gnunet_util_lib.h" 33#include "gnunet_util_lib.h"
@@ -301,4 +304,6 @@ setup_broadcast (struct Plugin *plugin,
301void 304void
302stop_broadcast (struct Plugin *plugin); 305stop_broadcast (struct Plugin *plugin);
303 306
307/*#ifndef PLUGIN_TRANSPORT_UDP_H*/
308#endif
304/* end of plugin_transport_udp.h */ 309/* end of plugin_transport_udp.h */