summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/connection.c b/network/connection.c
index 4966a7e1..e6d4d221 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -31,10 +31,9 @@
#include "logging.h"
#include "dbus.h"
+#include "error.h"
#define NETWORK_CONNECTION_INTERFACE "org.bluez.network.Manager"
-#define NETWORK_CONNECTION_PATH "/org/bluez/network/connection"
-#define NETWORK_ERROR_INTERFACE "org.bluez.Error"
#include "connection.h"
@@ -157,7 +156,6 @@ static const DBusObjectPathVTable connection_table = {
int connection_register(DBusConnection *conn, const char *path)
{
struct network_conn *nc;
- static int nc_uid = 0;
if (!conn)
return -1;