]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: move smallest_signed_int(), seq_before() and seq_after() into main.h
authorAntonio Quartulli <ordex@autistici.org>
Wed, 18 May 2011 07:20:50 +0000 (09:20 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 30 May 2011 05:39:35 +0000 (07:39 +0200)
commitceef5b1d6ba9f3243697aa50b8dd4cd47e99a61a
tree6978df634a520e574fbd10ec62c980d3079fdcd3
parent0216cd9d55fc4de76d2cdf6853d85aefbc7df8f2
batman-adv: move smallest_signed_int(), seq_before() and seq_after() into main.h

smallest_signed_int(), seq_before() and seq_after() are very useful
functions that help to handle comparisons between sequence numbers.
However they were only defined in vis.c. With this patch every
batman-adv function will be able to use them.

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