summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/connection.c1
-rw-r--r--network/server.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/network/connection.c b/network/connection.c
index 5772d4b2..9cdc3c69 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -44,6 +44,7 @@
#include "error.h"
#include "common.h"
+#include "connection.h"
#define NETWORK_PEER_INTERFACE "org.bluez.Network"
diff --git a/network/server.c b/network/server.c
index d4ee5f3f..afbec9f3 100644
--- a/network/server.c
+++ b/network/server.c
@@ -51,6 +51,7 @@
#include "bridge.h"
#include "common.h"
+#include "server.h"
#define NETWORK_PEER_INTERFACE "org.bluez.NetworkPeer"
#define NETWORK_HUB_INTERFACE "org.bluez.NetworkHub"
@@ -380,7 +381,7 @@ static int authorize_connection(struct network_server *ns, const char *address)
return ret_val;
}
-static uint16_t inline bnep_setup_chk(uint16_t dst_role, uint16_t src_role)
+static uint16_t bnep_setup_chk(uint16_t dst_role, uint16_t src_role)
{
/* Allowed PAN Profile scenarios */
switch (dst_role) {