commit | f5d33d37786af139cecde5af831d64a671bb756b | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Wed May 18 09:20:50 2011 +0200 |
committer | Sven Eckelmann <sven@narfation.org> | Mon May 30 07:39:35 2011 +0200 |
tree | 6978df634a520e574fbd10ec62c980d3079fdcd3 | |
parent | 728cbc6ac1eef89660875c70a602c1a0ba8df4ff [diff] |
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>