batman-adv: Add include guards to unicast.h

Message ID 1281869485-32283-1-git-send-email-sven.eckelmann@gmx.de (mailing list archive)
State Accepted, archived
Headers

Commit Message

Sven Eckelmann Aug. 15, 2010, 10:51 a.m. UTC
  Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman-adv/unicast.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
  

Comments

Marek Lindner Aug. 20, 2010, 8:49 p.m. UTC | #1
On Sunday 15 August 2010 12:51:25 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>

Applied in revision 1776.

Thanks,
Marek
  

Patch

diff --git a/batman-adv/unicast.h b/batman-adv/unicast.h
index 06f374e..1d5cbeb 100644
--- a/batman-adv/unicast.h
+++ b/batman-adv/unicast.h
@@ -19,6 +19,9 @@ 
  *
  */
 
+#ifndef _NET_BATMAN_ADV_UNICAST_H_
+#define _NET_BATMAN_ADV_UNICAST_H_
+
 #define FRAG_TIMEOUT 10000	/* purge frag list entrys after time in ms */
 #define FRAG_BUFFER_SIZE 6	/* number of list elements in buffer */
 
@@ -32,3 +35,5 @@  struct frag_packet_list_entry *search_frag_packet(struct list_head *head,
 	struct unicast_frag_packet *up);
 void frag_list_free(struct list_head *head);
 int unicast_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv);
+
+#endif /* _NET_BATMAN_ADV_UNICAST_H_ */