diff options
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 2 | ||||
-rw-r--r-- | src/peerinfo/peerinfo.h | 7 | ||||
-rw-r--r-- | src/transport/plugin_transport_http.h | 4 | ||||
-rw-r--r-- | src/transport/plugin_transport_udp.h | 5 |
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 | |||
31 | GNUNET_NETWORK_STRUCT_BEGIN | 36 | GNUNET_NETWORK_STRUCT_BEGIN |
32 | 37 | ||
33 | /** | 38 | /** |
@@ -120,4 +125,6 @@ struct InfoMessage | |||
120 | }; | 125 | }; |
121 | GNUNET_NETWORK_STRUCT_END | 126 | GNUNET_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 | |||
579 | notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, | 581 | notify_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, | |||
301 | void | 304 | void |
302 | stop_broadcast (struct Plugin *plugin); | 305 | stop_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 */ |