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)
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>

No differences found