diff options
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; |