From 3272397ad90e3d0aede75ecc301cd30b9984f35d Mon Sep 17 00:00:00 2001 From: Oleg Zhurakivskyy Date: Mon, 9 Jan 2012 12:30:41 +0200 Subject: sim: Minor style fixes --- src/sim.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/sim.c b/src/sim.c index ceead1e5..4ef14e39 100644 --- a/src/sim.c +++ b/src/sim.c @@ -46,10 +46,6 @@ #include "simfs.h" #include "stkutil.h" -static GSList *g_drivers = NULL; - -static void sim_own_numbers_update(struct ofono_sim *sim); - struct ofono_sim { /* Contents of the SIM file system, in rough initialization order */ char *iccid; @@ -140,6 +136,10 @@ static const char *const passwd_name[] = { [OFONO_SIM_PASSWORD_PHCORP_PUK] = "corppuk", }; +static void sim_own_numbers_update(struct ofono_sim *sim); + +static GSList *g_drivers = NULL; + static const char *sim_passwd_name(enum ofono_sim_password_type type) { return passwd_name[type]; @@ -1057,21 +1057,21 @@ static DBusMessage *sim_reset_pin(DBusConnection *conn, DBusMessage *msg, } static GDBusMethodTable sim_methods[] = { - { "GetProperties", "", "a{sv}", sim_get_properties }, + { "GetProperties", "", "a{sv}", sim_get_properties }, { "SetProperty", "sv", "", sim_set_property, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "ChangePin", "sss", "", sim_change_pin, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "EnterPin", "ss", "", sim_enter_pin, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "ResetPin", "sss", "", sim_reset_pin, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "LockPin", "ss", "", sim_lock_pin, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "UnlockPin", "ss", "", sim_unlock_pin, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { "GetIcon", "y", "ay", sim_get_icon, - G_DBUS_METHOD_FLAG_ASYNC }, + G_DBUS_METHOD_FLAG_ASYNC }, { } }; -- cgit v1.2.3