babeld: adopt to upstream header-style (#640)
authorPolynomdivision <vincent@systemli.org>
Tue, 9 Feb 2021 21:51:39 +0000 (22:51 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Feb 2021 21:51:39 +0000 (22:51 +0100)
commit86991248ac681124566bceeea97c5ea1123dd272
tree2d276bf9e75ef69caafb8b8fd0db80e36886cd02
parent72408a9cf8ce24066f3b091b8e9f1c50df6ea0b2
babeld: adopt to upstream header-style (#640)

babeld: adopt to upstream header-style

Instead of including the headerfiles that define the structs, we add
forward definitions to our headerfile.

Fixes warning:

ubus.h:67:32: warning: 'struct xroute' declared inside parameter list will not be visible outside of this definition or declaration
 void ubus_notify_xroute(struct xroute *xroute, int kind);
                                ^~~~~~
Signed-off-by: Nick Hainke <vincent@systemli.org>
babeld/Makefile
babeld/src/ubus.c
babeld/src/ubus.h