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/voicecall.c | |
parent | 4988741107adc2b0f89a2c391cd7fb08529b032a (diff) | |
download | ofono-2d0cb921552f64f37296f7c422ef41781290fb6f.tar.bz2 |
src: coding style fixes - rule M6
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index bd644326..52baec3a 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1926,7 +1926,7 @@ static void set_new_ecc(struct ofono_voicecall *vc) { int i = 0; - g_slist_foreach(vc->en_list, (GFunc)g_free, NULL); + g_slist_foreach(vc->en_list, (GFunc) g_free, NULL); g_slist_free(vc->en_list); vc->en_list = NULL; @@ -2026,7 +2026,7 @@ int ofono_voicecall_driver_register(const struct ofono_voicecall_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; } @@ -2035,7 +2035,7 @@ void ofono_voicecall_driver_unregister(const struct ofono_voicecall_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 voicecall_unregister(struct ofono_atom *atom) @@ -2077,13 +2077,13 @@ static void voicecall_remove(struct ofono_atom *atom) vc->driver->remove(vc); if (vc->en_list) { - g_slist_foreach(vc->en_list, (GFunc)g_free, NULL); + g_slist_foreach(vc->en_list, (GFunc) g_free, NULL); g_slist_free(vc->en_list); vc->en_list = NULL; } if (vc->new_en_list) { - g_slist_foreach(vc->new_en_list, (GFunc)g_free, NULL); + g_slist_foreach(vc->new_en_list, (GFunc) g_free, NULL); g_slist_free(vc->new_en_list); vc->new_en_list = NULL; } |