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 /plugins/hfp_hf.c | |
parent | addd756348ee6271da8198f4eec955954e149a34 (diff) | |
download | ofono-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 'plugins/hfp_hf.c')
-rw-r--r-- | plugins/hfp_hf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c index c11525e1..19a362f5 100644 --- a/plugins/hfp_hf.c +++ b/plugins/hfp_hf.c @@ -198,7 +198,7 @@ static DBusMessage *hfp_agent_release(DBusConnection *conn, return dbus_message_new_method_return(msg); } -static GDBusMethodTable agent_methods[] = { +static const GDBusMethodTable agent_methods[] = { { "NewConnection", "hq", "", hfp_agent_new_connection, G_DBUS_METHOD_FLAG_ASYNC }, { "Release", "", "", hfp_agent_release }, |