batman-adv: Move definition of atomic_dec_not_zero() into main.h
authorAntonio Quartulli <ordex@autistici.org>
Wed, 20 Apr 2011 07:52:56 +0000 (09:52 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 1 May 2011 20:49:03 +0000 (22:49 +0200)
commit5f657ec0d2103571a31707711926b443a27b0c66
tree573b6740dffb1ad7891d6e04027e12c038e6bd28
parentb5a6f69c5ca024bea43496d517c3b7ccfdb084a6
batman-adv: Move definition of atomic_dec_not_zero() into main.h

atomic_dec_not_zero() is very useful and it is currently defined
multiple times. So it is possible to move it in main.h

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/aggregation.c
net/batman-adv/main.h
net/batman-adv/send.c