batman-adv: Add include guards to unicast.h
Commit Message
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
batman-adv/unicast.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Comments
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
@@ -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_ */