summaryrefslogtreecommitdiffstats
path: root/serial/port.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-06 15:45:16 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-06 15:45:16 +0200
commit23640c409f6a6f86b220f254229ac06f2ca5a3e5 (patch)
tree2fd1b5e8e6bcc2e531f7e5ff6661982f0a3818fc /serial/port.h
parent37f2c163503f053cf4c3f1e2ddb5ffb05b0a347b (diff)
Get rid of the name attribute for ports
The name was used for matching against friendly-name strings but we can just as well derive it from the port UUID.
Diffstat (limited to 'serial/port.h')
-rw-r--r--serial/port.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/serial/port.h b/serial/port.h
index 381abe0c..6002ae02 100644
--- a/serial/port.h
+++ b/serial/port.h
@@ -24,7 +24,6 @@
void port_release_all(void);
int port_register(DBusConnection *conn, const char *path, bdaddr_t *src,
- bdaddr_t *dst, const char *name, const char *uuid,
- uint8_t channel);
+ bdaddr_t *dst, const char *name, uint8_t channel);
int port_unregister(const char *path, const char *uuid);