summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2010-11-19 05:57:22 -0800
committerDenis Kenzior <denkenz@gmail.com>2010-11-22 05:07:52 -0600
commit2d0cb921552f64f37296f7c422ef41781290fb6f (patch)
tree9eb50d58a893327d569a4ac76ff2c21f4e21604e /src/ussd.c
parent4988741107adc2b0f89a2c391cd7fb08529b032a (diff)
downloadofono-2d0cb921552f64f37296f7c422ef41781290fb6f.tar.bz2
src: coding style fixes - rule M6
Diffstat (limited to 'src/ussd.c')
-rw-r--r--src/ussd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ussd.c b/src/ussd.c
index 59e0a49e..c4de1770 100644
--- a/src/ussd.c
+++ b/src/ussd.c
@@ -759,7 +759,7 @@ int ofono_ussd_driver_register(const struct ofono_ussd_driver *d)
if (d->probe == NULL)
return -EINVAL;
- g_drivers = g_slist_prepend(g_drivers, (void *)d);
+ g_drivers = g_slist_prepend(g_drivers, (void *) d);
return 0;
}
@@ -768,7 +768,7 @@ void ofono_ussd_driver_unregister(const struct ofono_ussd_driver *d)
{
DBG("driver: %p, name: %s", d, d->name);
- g_drivers = g_slist_remove(g_drivers, (void *)d);
+ g_drivers = g_slist_remove(g_drivers, (void *) d);
}
static void ussd_unregister(struct ofono_atom *atom)
@@ -778,11 +778,11 @@ static void ussd_unregister(struct ofono_atom *atom)
struct ofono_modem *modem = __ofono_atom_get_modem(atom);
const char *path = __ofono_atom_get_path(atom);
- g_slist_foreach(ussd->ss_control_list, (GFunc)ssc_entry_destroy, NULL);
+ g_slist_foreach(ussd->ss_control_list, (GFunc) ssc_entry_destroy, NULL);
g_slist_free(ussd->ss_control_list);
ussd->ss_control_list = NULL;
- g_slist_foreach(ussd->ss_passwd_list, (GFunc)ssc_entry_destroy, NULL);
+ g_slist_foreach(ussd->ss_passwd_list, (GFunc) ssc_entry_destroy, NULL);
g_slist_free(ussd->ss_passwd_list);
ussd->ss_passwd_list = NULL;