@@ -116,7 +116,7 @@ void connman_service_unref_debug(struct connman_service *service,
enum connman_service_type connman_service_get_type(const struct connman_service *service);
enum connman_service_state connman_service_get_state(const struct connman_service *service);
-char *connman_service_get_interface(struct connman_service *service);
+char *connman_service_get_interface(const struct connman_service *service);
const char *connman_service_get_identifier(const struct connman_service *service);
const char *connman_service_get_domainname(const struct connman_service *service);
@@ -6196,7 +6196,7 @@ enum connman_service_type connman_service_get_type(const struct connman_service
*
* Get network interface of service
*/
-char *connman_service_get_interface(struct connman_service *service)
+char *connman_service_get_interface(const struct connman_service *service)
{
int index;
@@ -624,7 +624,7 @@ struct connman_service {
char *dummy;
};
-char *connman_service_get_interface(struct connman_service *service)
+char *connman_service_get_interface(const struct connman_service *service)
{
return "eth0";
}