babeld: fix compiler warnings (#639)
authorPolynomdivision <vincent@systemli.org>
Mon, 1 Feb 2021 19:40:17 +0000 (20:40 +0100)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 19:40:17 +0000 (20:40 +0100)
commit72408a9cf8ce24066f3b091b8e9f1c50df6ea0b2
tree94afd57067a38e926b993e59b04ad40e87808061
parent519c1ff73168eb57a1b06fd2222710802f441a2a
babeld: fix compiler warnings (#639)

babeld: fix compiler warnings

Fixes:
- "route_list_entry" points to "struct babel_route"
- "format_thousands" returns a string pointer
- "UBUS_METHOD_NOARG" wants a function returning an integer

Signed-off-by: Nick Hainke <vincent@systemli.org>
babeld/Makefile
babeld/src/ubus.c