diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-10-19 17:07:23 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-19 17:07:23 -0500 |
commit | c4594d254365a9724a51687bc026b1205cd93f0b (patch) | |
tree | 9d010083b46d5692065cdd97163bff49d2f07d84 | |
parent | 17072b19496460a8476b56eb3c6eae4676cefd85 (diff) | |
download | ofono-c4594d254365a9724a51687bc026b1205cd93f0b.tar.bz2 |
Fix: Make 'make distcheck' happy again
-rw-r--r-- | drivers/hfpmodem/hfp.c | 1 | ||||
-rw-r--r-- | plugins/hfp.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hfpmodem/hfp.c b/drivers/hfpmodem/hfp.c index fa59aa95..2d9e6a56 100644 --- a/drivers/hfpmodem/hfp.c +++ b/drivers/hfpmodem/hfp.c @@ -33,7 +33,6 @@ #include <ofono/plugin.h> #include <ofono/log.h> #include <ofono/modem.h> -#include <dbus.h> #include <gatchat.h> #include <gatresult.h> diff --git a/plugins/hfp.c b/plugins/hfp.c index 3600ad34..c2973be3 100644 --- a/plugins/hfp.c +++ b/plugins/hfp.c @@ -30,7 +30,6 @@ #include <glib.h> #include <gatchat.h> #include <gattty.h> -#include <dbus.h> #define OFONO_API_SUBJECT_TO_CHANGE #include <ofono/plugin.h> @@ -193,7 +192,7 @@ static void brsf_cb(gboolean ok, GAtResult *result, gpointer user_data) if (!g_at_result_iter_next(&iter, "+BRSF:")) goto error; - g_at_result_iter_next_number(&iter, &data->ag_features); + g_at_result_iter_next_number(&iter, (gint *)&data->ag_features); g_at_chat_send(data->chat, "AT+CIND=?", cind_prefix, cind_cb, modem, NULL); @@ -289,7 +288,6 @@ static int hfp_enable(struct ofono_modem *modem) static int hfp_disable(struct ofono_modem *modem) { struct hfp_data *data = ofono_modem_get_data(modem); - int i; DBG("%p", modem); |