diff options
author | Henrique Dante de Almeida <hdante@profusion.mobi> | 2012-05-20 02:07:25 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:56 -0700 |
commit | 63bbdebdf2f515193ab9c067eddc1c2add24e0e3 (patch) | |
tree | b24fcbd92bc8c681892d803d9d62f57afd0879d8 /src/cbs.c | |
parent | addd756348ee6271da8198f4eec955954e149a34 (diff) | |
download | ofono-63bbdebdf2f515193ab9c067eddc1c2add24e0e3.tar.gz |
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/cbs.c')
-rw-r--r-- | src/cbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -540,7 +540,7 @@ static DBusMessage *cbs_set_property(DBusConnection *conn, DBusMessage *msg, return __ofono_error_invalid_args(msg); } -static GDBusMethodTable cbs_methods[] = { +static const GDBusMethodTable cbs_methods[] = { { "GetProperties", "", "a{sv}", cbs_get_properties }, { "SetProperty", "sv", "", cbs_set_property, G_DBUS_METHOD_FLAG_ASYNC }, |