From 63bbdebdf2f515193ab9c067eddc1c2add24e0e3 Mon Sep 17 00:00:00 2001 From: Henrique Dante de Almeida Date: Sun, 20 May 2012 02:07:25 -0300 Subject: Constify GDBus method tables Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \; --- src/sms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sms.c') diff --git a/src/sms.c b/src/sms.c index 26dbd89e..1f64be91 100644 --- a/src/sms.c +++ b/src/sms.c @@ -1103,7 +1103,7 @@ int __ofono_sms_txq_cancel(struct ofono_sms *sms, const struct ofono_uuid *uuid) return 0; } -static GDBusMethodTable sms_manager_methods[] = { +static const GDBusMethodTable sms_manager_methods[] = { { "GetProperties", "", "a{sv}", sms_get_properties, G_DBUS_METHOD_FLAG_ASYNC }, { "SetProperty", "sv", "", sms_set_property, -- cgit v1.2.3