Constify GDBus signal tables

Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
This commit is contained in:
Henrique Dante de Almeida 2012-05-20 02:07:26 -03:00 committed by Marcel Holtmann
parent 63bbdebdf2
commit 924ee02ff7
27 changed files with 30 additions and 30 deletions

View File

@ -123,7 +123,7 @@ static const GDBusMethodTable audio_methods[] = {
{ } { }
}; };
static GDBusSignalTable audio_signals[] = { static const GDBusSignalTable audio_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -982,7 +982,7 @@ static const GDBusMethodTable cb_methods[] = {
{ } { }
}; };
static GDBusSignalTable cb_signals[] = { static const GDBusSignalTable cb_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -891,7 +891,7 @@ static const GDBusMethodTable cf_methods[] = {
{ } { }
}; };
static GDBusSignalTable cf_signals[] = { static const GDBusSignalTable cf_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -656,7 +656,7 @@ static const GDBusMethodTable cm_methods[] = {
{ } { }
}; };
static GDBusSignalTable cm_signals[] = { static const GDBusSignalTable cm_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "NearMaximumWarning", "" }, { "NearMaximumWarning", "" },
{ } { }

View File

@ -1338,7 +1338,7 @@ static const GDBusMethodTable cs_methods[] = {
{ } { }
}; };
static GDBusSignalTable cs_signals[] = { static const GDBusSignalTable cs_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -308,7 +308,7 @@ static const GDBusMethodTable cv_methods[] = {
{ } { }
}; };
static GDBusSignalTable cv_signals[] = { static const GDBusSignalTable cv_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -547,7 +547,7 @@ static const GDBusMethodTable cbs_methods[] = {
{ } { }
}; };
static GDBusSignalTable cbs_signals[] = { static const GDBusSignalTable cbs_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "IncomingBroadcast", "sq" }, { "IncomingBroadcast", "sq" },
{ "EmergencyBroadcast", "sa{sv}" }, { "EmergencyBroadcast", "sa{sv}" },

View File

@ -525,7 +525,7 @@ static const GDBusMethodTable cdma_connman_methods[] = {
{ } { }
}; };
static GDBusSignalTable cdma_connman_signals[] = { static const GDBusSignalTable cdma_connman_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -112,7 +112,7 @@ static const GDBusMethodTable cdma_netreg_manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable cdma_netreg_manager_signals[] = { static const GDBusSignalTable cdma_netreg_manager_signals[] = {
{ } { }
}; };

View File

@ -48,7 +48,7 @@ static const GDBusMethodTable cdma_sms_manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable cdma_sms_manager_signals[] = { static const GDBusSignalTable cdma_sms_manager_signals[] = {
{ "IncomingMessage", "sa{sv}" }, { "IncomingMessage", "sa{sv}" },
/* TODO */ /* TODO */
{ } { }

View File

@ -421,7 +421,7 @@ static const GDBusMethodTable manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable manager_signals[] = { static const GDBusSignalTable manager_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "DisconnectReason", "s" }, { "DisconnectReason", "s" },
{ } { }

View File

@ -210,7 +210,7 @@ static const GDBusMethodTable ctm_methods[] = {
{ } { }
}; };
static GDBusSignalTable ctm_signals[] = { static const GDBusSignalTable ctm_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -1289,7 +1289,7 @@ static const GDBusMethodTable context_methods[] = {
{ } { }
}; };
static GDBusSignalTable context_signals[] = { static const GDBusSignalTable context_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };
@ -2075,7 +2075,7 @@ static const GDBusMethodTable manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable manager_signals[] = { static const GDBusSignalTable manager_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "ContextAdded", "oa{sv}" }, { "ContextAdded", "oa{sv}" },
{ "ContextRemoved", "o" }, { "ContextRemoved", "o" },

View File

@ -279,7 +279,7 @@ static const GDBusMethodTable handsfree_methods[] = {
{ NULL, NULL, NULL, NULL } { NULL, NULL, NULL, NULL }
}; };
static GDBusSignalTable handsfree_signals[] = { static const GDBusSignalTable handsfree_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -248,7 +248,7 @@ static const GDBusMethodTable location_reporting_methods[] = {
{ } { }
}; };
static GDBusSignalTable location_reporting_signals[] = { static const GDBusSignalTable location_reporting_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -85,7 +85,7 @@ static const GDBusMethodTable manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable manager_signals[] = { static const GDBusSignalTable manager_signals[] = {
{ "ModemAdded", "oa{sv}" }, { "ModemAdded", "oa{sv}" },
{ "ModemRemoved", "o" }, { "ModemRemoved", "o" },
{ } { }

View File

@ -375,7 +375,7 @@ static const GDBusMethodTable message_waiting_methods[] = {
{ } { }
}; };
static GDBusSignalTable message_waiting_signals[] = { static const GDBusSignalTable message_waiting_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -109,7 +109,7 @@ static const GDBusMethodTable message_methods[] = {
{ } { }
}; };
static GDBusSignalTable message_signals[] = { static const GDBusSignalTable message_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -1130,7 +1130,7 @@ static const GDBusMethodTable modem_methods[] = {
{ } { }
}; };
static GDBusSignalTable modem_signals[] = { static const GDBusSignalTable modem_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -630,7 +630,7 @@ static const GDBusMethodTable network_operator_methods[] = {
{ } { }
}; };
static GDBusSignalTable network_operator_signals[] = { static const GDBusSignalTable network_operator_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };
@ -1030,7 +1030,7 @@ static const GDBusMethodTable network_registration_methods[] = {
{ } { }
}; };
static GDBusSignalTable network_registration_signals[] = { static const GDBusSignalTable network_registration_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -485,7 +485,7 @@ static const GDBusMethodTable phonebook_methods[] = {
{ } { }
}; };
static GDBusSignalTable phonebook_signals[] = { static const GDBusSignalTable phonebook_signals[] = {
{ } { }
}; };

View File

@ -609,7 +609,7 @@ static const GDBusMethodTable radio_methods[] = {
{ } { }
}; };
static GDBusSignalTable radio_signals[] = { static const GDBusSignalTable radio_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -1086,7 +1086,7 @@ static const GDBusMethodTable sim_methods[] = {
{ } { }
}; };
static GDBusSignalTable sim_signals[] = { static const GDBusSignalTable sim_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }
}; };

View File

@ -1114,7 +1114,7 @@ static const GDBusMethodTable sms_manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable sms_manager_signals[] = { static const GDBusSignalTable sms_manager_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "IncomingMessage", "sa{sv}" }, { "IncomingMessage", "sa{sv}" },
{ "ImmediateMessage", "sa{sv}" }, { "ImmediateMessage", "sa{sv}" },

View File

@ -827,7 +827,7 @@ static const GDBusMethodTable stk_methods[] = {
{ } { }
}; };
static GDBusSignalTable stk_signals[] = { static const GDBusSignalTable stk_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ } { }

View File

@ -740,7 +740,7 @@ static const GDBusMethodTable ussd_methods[] = {
{ } { }
}; };
static GDBusSignalTable ussd_signals[] = { static const GDBusSignalTable ussd_signals[] = {
{ "NotificationReceived", "s" }, { "NotificationReceived", "s" },
{ "RequestReceived", "s" }, { "RequestReceived", "s" },
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },

View File

@ -678,7 +678,7 @@ static const GDBusMethodTable voicecall_methods[] = {
{ } { }
}; };
static GDBusSignalTable voicecall_signals[] = { static const GDBusSignalTable voicecall_signals[] = {
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },
{ "DisconnectReason", "s" }, { "DisconnectReason", "s" },
{ } { }
@ -2143,7 +2143,7 @@ static const GDBusMethodTable manager_methods[] = {
{ } { }
}; };
static GDBusSignalTable manager_signals[] = { static const GDBusSignalTable manager_signals[] = {
{ "Forwarded", "s" }, { "Forwarded", "s" },
{ "BarringActive", "s" }, { "BarringActive", "s" },
{ "PropertyChanged", "sv" }, { "PropertyChanged", "sv" },