summaryrefslogtreecommitdiff
path: root/profiles/health/hdp_manager.h
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2012-09-19 12:22:13 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-09-21 13:52:57 +0300
commite6de0fed83571930d938ab5323eb8268feb71974 (patch)
tree71c92e58d06cd6f244f5de98fb0077d9c671385a /profiles/health/hdp_manager.h
parentfc420ead6edb432707d22461cfff5b4f66050c08 (diff)
downloadbluez-e6de0fed83571930d938ab5323eb8268feb71974.tar.gz
health: Simplify DBusConnection object handling
This patch removes redundant references and function parameters for DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.
Diffstat (limited to 'profiles/health/hdp_manager.h')
-rw-r--r--profiles/health/hdp_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/health/hdp_manager.h b/profiles/health/hdp_manager.h
index d39f190d1..1cab4d008 100644
--- a/profiles/health/hdp_manager.h
+++ b/profiles/health/hdp_manager.h
@@ -20,5 +20,5 @@
*
*/
-int hdp_manager_init(DBusConnection *conn);
+int hdp_manager_init(void);
void hdp_manager_exit(void);