From 0ac929228aa1eb823f37776e2bbb84855417c66e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 19 Mar 2007 13:57:52 +0000 Subject: Fix build, move errors to error file and add server registration. --- network/connection.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'network/connection.c') 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; -- cgit