summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:32:20 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:32:20 +0100
commit86984e4b0e58517aa3e50e4678f5f7b0165d85d4 (patch)
tree93581df902b3350882ff283b4bdc9f68958e4552 /network
parent76950fff1b3d18e13cdfb7c545a28ae117095a75 (diff)
Add missing include definitions
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) {