summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/dbus_helpers.c4
-rw-r--r--client/dbus_helpers.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/dbus_helpers.c b/client/dbus_helpers.c
index 101fa4c7..9c0e1eb2 100644
--- a/client/dbus_helpers.c
+++ b/client/dbus_helpers.c
@@ -260,8 +260,8 @@ int __connmanctl_dbus_set_property(DBusConnection *connection,
return send_method_call(connection, message, cb, user_data);
}
-void __connmanctl_dbus_append_dict_entry(DBusMessageIter *iter, char *property,
- int type, void *value)
+void __connmanctl_dbus_append_dict_entry(DBusMessageIter *iter,
+ const char *property, int type, void *value)
{
DBusMessageIter dict_entry;
diff --git a/client/dbus_helpers.h b/client/dbus_helpers.h
index cdd92e1c..7956a05c 100644
--- a/client/dbus_helpers.h
+++ b/client/dbus_helpers.h
@@ -47,8 +47,8 @@ int __connmanctl_dbus_set_property(DBusConnection *connection,
typedef void (*connmanctl_dbus_append_func_t)(DBusMessageIter *iter,
void *user_data);
-void __connmanctl_dbus_append_dict_entry(DBusMessageIter *iter, char *property,
- int type, void *value);
+void __connmanctl_dbus_append_dict_entry(DBusMessageIter *iter,
+ const char *property, int type, void *value);
int __connmanctl_dbus_set_property_dict(DBusConnection *connection,
const char *path, const char *interface,
connmanctl_dbus_method_return_func_t cb, void * user_data,