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/ussd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ussd.c') diff --git a/src/ussd.c b/src/ussd.c index d2d36214..25ef61fc 100644 --- a/src/ussd.c +++ b/src/ussd.c @@ -728,7 +728,7 @@ static DBusMessage *ussd_get_properties(DBusConnection *conn, return reply; } -static GDBusMethodTable ussd_methods[] = { +static const GDBusMethodTable ussd_methods[] = { { "Initiate", "s", "sv", ussd_initiate, G_DBUS_METHOD_FLAG_ASYNC }, { "Respond", "s", "s", ussd_respond, -- cgit v1.2.3