summaryrefslogtreecommitdiff
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)
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
};
+/*#ifndef PLUGIN_TRANSPORT_H*/
#endif
+/* 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 @@
* @brief common internal definitions for peerinfo service
* @author Christian Grothoff
*/
+
+#ifndef PEERINFO_H
+#define PEERINFO_H
+
#include "gnunet_crypto_lib.h"
#include "gnunet_time_lib.h"
#include "gnunet_peerinfo_service.h"
+
GNUNET_NETWORK_STRUCT_BEGIN
/**
@@ -120,4 +125,6 @@ struct InfoMessage
};
GNUNET_NETWORK_STRUCT_END
+/*#ifndef PEERINFO_H*/
+#endif
/* 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 @@
* @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 */