diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-22 13:18:21 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-22 13:18:21 +0200 |
commit | b739e1450da442f2e9ce46e6add0db9c019cceab (patch) | |
tree | e738cae51a0cd059f7cdda21a4fb004e226d6463 | |
parent | 0c64e6bc924c3df2955801cd55a8b569d7da2bd9 (diff) | |
download | connman-b739e1450da442f2e9ce46e6add0db9c019cceab.tar.gz connman-b739e1450da442f2e9ce46e6add0db9c019cceab.tar.bz2 connman-b739e1450da442f2e9ce46e6add0db9c019cceab.zip |
Rename internal function to match other function names
-rw-r--r-- | src/connman.h | 2 | ||||
-rw-r--r-- | src/device.c | 2 | ||||
-rw-r--r-- | src/notifier.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/connman.h b/src/connman.h index 456c1f7e..0b5c091b 100644 --- a/src/connman.h +++ b/src/connman.h @@ -306,7 +306,7 @@ void __connman_notifier_enable(enum connman_service_type type); void __connman_notifier_disable(enum connman_service_type type); void __connman_notifier_connect(enum connman_service_type type); void __connman_notifier_disconnect(enum connman_service_type type); -void __connman_notifier_offline_mode(connman_bool_t enabled); +void __connman_notifier_offlinemode(connman_bool_t enabled); #include <connman/rtnl.h> diff --git a/src/device.c b/src/device.c index e9bbeb5a..7bf1aa44 100644 --- a/src/device.c +++ b/src/device.c @@ -1564,7 +1564,7 @@ int __connman_device_set_offlinemode(connman_bool_t offlinemode) __connman_element_foreach(NULL, CONNMAN_ELEMENT_TYPE_DEVICE, set_offlinemode, GUINT_TO_POINTER(offlinemode)); - __connman_notifier_offline_mode(offlinemode); + __connman_notifier_offlinemode(offlinemode); return 0; } diff --git a/src/notifier.c b/src/notifier.c index 4f44ea40..cfd67502 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -363,7 +363,7 @@ void __connman_notifier_disconnect(enum connman_service_type type) technology_connected(type, FALSE); } -static void offline_mode_changed(dbus_bool_t enabled) +static void offlinemode_changed(dbus_bool_t enabled) { DBusMessage *signal; DBusMessageIter entry, value; @@ -388,7 +388,7 @@ static void offline_mode_changed(dbus_bool_t enabled) g_dbus_send_message(connection, signal); } -void __connman_notifier_offline_mode(connman_bool_t enabled) +void __connman_notifier_offlinemode(connman_bool_t enabled) { GSList *list; @@ -396,7 +396,7 @@ void __connman_notifier_offline_mode(connman_bool_t enabled) __connman_profile_changed(FALSE); - offline_mode_changed(enabled); + offlinemode_changed(enabled); for (list = notifier_list; list; list = list->next) { struct connman_notifier *notifier = list->data; |