summaryrefslogtreecommitdiff
path: root/src/transport
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 /src/transport
parent2ba62f67da9b2ae94d3d33c56fa9664082c83d94 (diff)
add missing ifdefs in header files
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_http.h4
-rw-r--r--src/transport/plugin_transport_udp.h5
2 files changed, 9 insertions, 0 deletions
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 @@
* @brief http transport service plugin
* @author Matthias Wachs
*/
+#ifndef PLUGIN_TRANSPORT_HTTP_H
+#define PLUGIN_TRANSPORT_HTTP_H
#include "platform.h"
#include "gnunet_common.h"
@@ -579,4 +581,6 @@ void
notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
struct Session *s);
+/*#ifndef PLUGIN_TRANSPORT_HTTP_H*/
+#endif
/* 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 @@
* @author Nathan Evans
* @author Matthias Wachs
*/
+#ifndef PLUGIN_TRANSPORT_UDP_H
+#define PLUGIN_TRANSPORT_UDP_H
+
#include "platform.h"
#include "gnunet_hello_lib.h"
#include "gnunet_util_lib.h"
@@ -301,4 +304,6 @@ setup_broadcast (struct Plugin *plugin,
void
stop_broadcast (struct Plugin *plugin);
+/*#ifndef PLUGIN_TRANSPORT_UDP_H*/
+#endif
/* end of plugin_transport_udp.h */