diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-05-17 20:34:07 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-17 20:34:07 -0700 |
commit | 606e1e8ade4ce7c05f46480c27e66879d2e765b2 (patch) | |
tree | eb355a0267e2b019880e2e340637bf25415d4227 /client/pbap.c | |
parent | f58cd6239f44d288748da946cba0f98c6d5aa928 (diff) | |
download | obexd-606e1e8ade4ce7c05f46480c27e66879d2e765b2.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 'client/pbap.c')
-rw-r--r-- | client/pbap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pbap.c b/client/pbap.c index 76db61e..add9057 100644 --- a/client/pbap.c +++ b/client/pbap.c @@ -980,7 +980,7 @@ static DBusMessage *pbap_list_filter_fields(DBusConnection *connection, return reply; } -static GDBusMethodTable pbap_methods[] = { +static const GDBusMethodTable pbap_methods[] = { { "Select", "ss", "", pbap_select, G_DBUS_METHOD_FLAG_ASYNC }, { "PullAll", "", "s", pbap_pull_all, |