summaryrefslogtreecommitdiffstats
path: root/src/cbs.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/cbs.c
parent4988741107adc2b0f89a2c391cd7fb08529b032a (diff)
downloadofono-2d0cb921552f64f37296f7c422ef41781290fb6f.tar.bz2
src: coding style fixes - rule M6
Diffstat (limited to 'src/cbs.c')
-rw-r--r--src/cbs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cbs.c b/src/cbs.c
index 16177952..50e78c29 100644
--- a/src/cbs.c
+++ b/src/cbs.c
@@ -565,7 +565,7 @@ int ofono_cbs_driver_register(const struct ofono_cbs_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;
}
@@ -574,7 +574,7 @@ void ofono_cbs_driver_unregister(const struct ofono_cbs_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 cbs_unregister(struct ofono_atom *atom)
@@ -588,20 +588,20 @@ static void cbs_unregister(struct ofono_atom *atom)
ofono_modem_remove_interface(modem, OFONO_CELL_BROADCAST_INTERFACE);
if (cbs->topics) {
- g_slist_foreach(cbs->topics, (GFunc)g_free, NULL);
+ g_slist_foreach(cbs->topics, (GFunc) g_free, NULL);
g_slist_free(cbs->topics);
cbs->topics = NULL;
}
if (cbs->new_topics) {
- g_slist_foreach(cbs->new_topics, (GFunc)g_free, NULL);
+ g_slist_foreach(cbs->new_topics, (GFunc) g_free, NULL);
g_slist_free(cbs->new_topics);
cbs->new_topics = NULL;
}
if (cbs->efcbmid_length) {
cbs->efcbmid_length = 0;
- g_slist_foreach(cbs->efcbmid_contents, (GFunc)g_free, NULL);
+ g_slist_foreach(cbs->efcbmid_contents, (GFunc) g_free, NULL);
g_slist_free(cbs->efcbmid_contents);
cbs->efcbmid_contents = NULL;
}