diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2010-11-19 05:57:22 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-22 05:07:52 -0600 |
commit | 2d0cb921552f64f37296f7c422ef41781290fb6f (patch) | |
tree | 9eb50d58a893327d569a4ac76ff2c21f4e21604e /src/ussd.c | |
parent | 4988741107adc2b0f89a2c391cd7fb08529b032a (diff) | |
download | ofono-2d0cb921552f64f37296f7c422ef41781290fb6f.tar.bz2 |
src: coding style fixes - rule M6
Diffstat (limited to 'src/ussd.c')
-rw-r--r-- | src/ussd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |