From e7bd2276dee0e2fb8a6fd7d5f0ec46522fcf62ae Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 3 Nov 2014 15:36:52 -0600 Subject: [PATCH] wiphy: Make const correct --- src/wiphy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index 3453b031..8834d69e 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -80,7 +80,7 @@ static void do_debug(const char *str, void *user_data) l_info("%s%s", prefix, str); } -static const char *iwd_network_get_path(struct network *network) +static const char *iwd_network_get_path(const struct network *network) { static char path[256]; @@ -92,7 +92,7 @@ static const char *iwd_network_get_path(struct network *network) return path; } -static bool __iwd_network_append_properties(struct network *network, +static bool __iwd_network_append_properties(const struct network *network, struct l_dbus_message_builder *builder) { l_dbus_message_builder_enter_array(builder, "{sv}");