Staging: batman-adv: Add include guards to all header files
authorSven Eckelmann <sven.eckelmann@gmx.de>
Fri, 25 Jun 2010 22:28:24 +0000 (00:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 19:17:32 +0000 (12:17 -0700)
commit62c2072003074f3e7fdc1bfb07f4362215b49937
tree33dbaa7591f7b26a9ea1f762224285bd9b6a47f2
parent7809cea94f4094918df062bd84b327dc4119d304
Staging: batman-adv: Add include guards to all header files

We include different header files indirectly to the same source file.
This creates weird compiler errors from time to time. Include guards
should prefend that functions/variables/... gets redefined by itself.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
17 files changed:
drivers/staging/batman-adv/aggregation.h
drivers/staging/batman-adv/bat_debugfs.h
drivers/staging/batman-adv/bat_sysfs.h
drivers/staging/batman-adv/bitarray.h
drivers/staging/batman-adv/hard-interface.h
drivers/staging/batman-adv/hash.h
drivers/staging/batman-adv/icmp_socket.h
drivers/staging/batman-adv/main.h
drivers/staging/batman-adv/originator.h
drivers/staging/batman-adv/packet.h
drivers/staging/batman-adv/ring_buffer.h
drivers/staging/batman-adv/routing.h
drivers/staging/batman-adv/send.h
drivers/staging/batman-adv/soft-interface.h
drivers/staging/batman-adv/translation-table.h
drivers/staging/batman-adv/types.h
drivers/staging/batman-adv/vis.h