Skip to content
Commit aa0adb1a authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

batman-adv: Use "__attribute__" shortcut macros



Linux 2.6.21 defines different macros for __attribute__ which are also
used inside batman-adv. The next version of checkpatch.pl warns about
the usage of __attribute__((packed))).

Linux 2.6.33 defines an extra macro __always_unused which is used to
assist source code analyzers and can be used to removed the last
existing __attribute__ inside the source code.

Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent ed7809d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment