summaryrefslogtreecommitdiffstats
path: root/serial/port.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-18 15:16:21 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-18 15:16:21 +0000
commitf7544168a7628f67f98da7a7d6db63678a3d9be3 (patch)
tree8d4db6fdd22d6649252bd4c6e58baae01bbc2f1a /serial/port.h
parentd0b45fbc214a16bcc0b13f4e37c37a8bfa96b904 (diff)
serial: keep port_open static since Connect will not be implemented
Diffstat (limited to 'serial/port.h')
-rw-r--r--serial/port.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/serial/port.h b/serial/port.h
index 4e719363..026ba242 100644
--- a/serial/port.h
+++ b/serial/port.h
@@ -21,9 +21,6 @@
*
*/
-typedef void (*open_notify_t) (int fd, int err, void *data);
-typedef void (*udata_free_t) (void *data);
-
int port_add_listener(DBusConnection *conn, int id, bdaddr_t *dst,
int fd, const char *name, const char *owner);
@@ -33,6 +30,3 @@ int port_register(DBusConnection *conn, int id, bdaddr_t *dst,
const char *name, char *ppath);
int port_unregister(const char *path);
-
-int port_open(const char *dev, open_notify_t notify,
- void *data, udata_free_t ufree);