commit | aa0adb1a85e159cf57f0e11282bc6c9e3606a5f3 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sat Jan 15 14:39:43 2011 +0000 |
committer | Sven Eckelmann <sven@narfation.org> | Sun Jan 16 03:25:19 2011 +0100 |
tree | 19406bf80804801e85cf0182f5037ddfc656465e | |
parent | ed7809d9c41b514115ddffaa860694393c2016b3 [diff] |
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: Sven Eckelmann <sven@narfation.org>