summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-19 13:57:52 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-19 13:57:52 +0000
commit0ac929228aa1eb823f37776e2bbb84855417c66e (patch)
tree841f767e50e07f1e7700dd08e9ffe80381c80445 /network/connection.c
parent851ad267e554850ae2cbfd486922cbcfb897f8b5 (diff)
Fix build, move errors to error file and add server registration.
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;