diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-16 08:57:32 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-16 08:57:32 +0200 |
commit | 87e1eceda35d2e17ddfff0d099aaac57392e8bf1 (patch) | |
tree | da8010cffe420931af21c0746cd6af79d055774e /common/glib-helper.c | |
parent | 8dffd114dc07a2ec5832ae6b230a265fce10e7e9 (diff) |
Make old bt_io_connect and bt_io_listen private in preparation of btio import
Diffstat (limited to 'common/glib-helper.c')
-rw-r--r-- | common/glib-helper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/glib-helper.c b/common/glib-helper.c index 9e1f6f3f..91d0e455 100644 --- a/common/glib-helper.c +++ b/common/glib-helper.c @@ -68,6 +68,9 @@ struct hci_cmd_data { gpointer caller_data; }; +static BtIOError bt_io_connect(BtIO *io, const char *uuid, BtIOFunc func); +static BtIOError bt_io_listen(BtIO *io, const char *uuid, BtIOFunc func); + static gboolean cached_session_expired(gpointer user_data) { struct cached_sdp_session *cached = user_data; @@ -1618,7 +1621,7 @@ guint16 bt_io_get_mtu(BtIO *io) return io->mtu; } -BtIOError bt_io_connect(BtIO *io, const char *uuid, BtIOFunc func) +static BtIOError bt_io_connect(BtIO *io, const char *uuid, BtIOFunc func) { if (!io->connect) return BT_IO_FAILED; @@ -1626,7 +1629,7 @@ BtIOError bt_io_connect(BtIO *io, const char *uuid, BtIOFunc func) return io->connect(io, func); } -BtIOError bt_io_listen(BtIO *io, const char *uuid, BtIOFunc func) +static BtIOError bt_io_listen(BtIO *io, const char *uuid, BtIOFunc func) { if (!io->listen) return BT_IO_FAILED; |