summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-05 17:24:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-05 17:24:18 -0600
commit8dc538e2526d05de288bf0b233fafba0a9bdebf5 (patch)
tree2b6f0adfccf80ea92008cbd2c1576c5ff6850d98
parent8930371e327ae8335637c23fc767aef23b90c9e0 (diff)
downloadofono-8dc538e2526d05de288bf0b233fafba0a9bdebf5.tar.bz2
Style: No need for void here
-rw-r--r--plugins/hfp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/hfp.c b/plugins/hfp.c
index f235253c..12e0fc3e 100644
--- a/plugins/hfp.c
+++ b/plugins/hfp.c
@@ -606,7 +606,7 @@ static void list_devices_cb(DBusPendingCall *call, gpointer user_data)
for (i = 0 ; i < num ; i++) {
ret = send_method_call(BLUEZ_SERVICE, device[i],
BLUEZ_DEVICE_INTERFACE, "GetProperties",
- get_properties_cb, (void *)device[i],
+ get_properties_cb, device[i],
DBUS_TYPE_INVALID);
if (ret < 0) {
g_free(device[i]);
@@ -870,7 +870,7 @@ static struct ofono_modem_driver hfp_driver = {
static guint adapter_watch;
static guint uuid_watch;
-static int hfp_init(void)
+static int hfp_init()
{
int err;
@@ -916,7 +916,7 @@ remove:
return err;
}
-static void hfp_exit(void)
+static void hfp_exit()
{
g_dbus_remove_watch(connection, adapter_watch);
g_dbus_remove_watch(connection, uuid_watch);