summaryrefslogtreecommitdiffstats
path: root/src/ctm.c
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-20 02:07:25 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-20 02:47:56 -0700
commit63bbdebdf2f515193ab9c067eddc1c2add24e0e3 (patch)
treeb24fcbd92bc8c681892d803d9d62f57afd0879d8 /src/ctm.c
parentaddd756348ee6271da8198f4eec955954e149a34 (diff)
downloadofono-63bbdebdf2f515193ab9c067eddc1c2add24e0e3.tar.bz2
Constify GDBus method tables
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
Diffstat (limited to 'src/ctm.c')
-rw-r--r--src/ctm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctm.c b/src/ctm.c
index 9cece8af..2ff1cca3 100644
--- a/src/ctm.c
+++ b/src/ctm.c
@@ -202,7 +202,7 @@ static DBusMessage *ctm_set_property(DBusConnection *conn, DBusMessage *msg,
return __ofono_error_invalid_args(msg);
}
-static GDBusMethodTable ctm_methods[] = {
+static const GDBusMethodTable ctm_methods[] = {
{ "GetProperties", "", "a{sv}", ctm_get_properties,
G_DBUS_METHOD_FLAG_ASYNC },
{ "SetProperty", "sv", "", ctm_set_property,