From 1f6bcd79a30ce899eec1245956c48876831439eb Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 11 Apr 2007 22:46:22 +0000 Subject: Let the manager use global variables --- audio/headset.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'audio/headset.h') diff --git a/audio/headset.h b/audio/headset.h index 7c85b9bb..13532cb7 100644 --- a/audio/headset.h +++ b/audio/headset.h @@ -29,8 +29,6 @@ struct headset; -#include "manager.h" - #define BUF_SIZE 1024 struct headset *headset_new(DBusConnection *conn, const bdaddr_t *bda); @@ -41,8 +39,7 @@ uint32_t headset_add_ag_record(DBusConnection *conn, uint8_t channel); int headset_remove_ag_record(DBusConnection *conn, uint32_t rec_id); -gboolean headset_server_io_cb(GIOChannel *chan, GIOCondition cond, - struct manager *manager); +gboolean headset_server_io_cb(GIOChannel *chan, GIOCondition cond, void *data); gint headset_path_cmp(gconstpointer headset, gconstpointer path); gint headset_bda_cmp(gconstpointer headset, gconstpointer bda); -- cgit