• Sven Eckelmann's avatar
    batman-adv: Use "__attribute__" shortcut macros · aa0adb1a
    Sven Eckelmann authored
    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>
    aa0adb1a
main.h 5.3 KB