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/cdma-netreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cdma-netreg.c') diff --git a/src/cdma-netreg.c b/src/cdma-netreg.c index 1a88d331..e6074a83 100644 --- a/src/cdma-netreg.c +++ b/src/cdma-netreg.c @@ -107,7 +107,7 @@ static DBusMessage *network_get_properties(DBusConnection *conn, return reply; } -static GDBusMethodTable cdma_netreg_manager_methods[] = { +static const GDBusMethodTable cdma_netreg_manager_methods[] = { { "GetProperties", "", "a{sv}", network_get_properties }, { } }; -- cgit v1.2.3