From f5fb7c713ea443469406a691e60a6f4567a4cb75 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 17 Jan 2022 00:32:29 +0100 Subject: Fix const warnings Now that the RPCs have const, this forces us cleaning our const-meant functions. --- libcons/dir-changed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcons/dir-changed.c') diff --git a/libcons/dir-changed.c b/libcons/dir-changed.c index 9701b056..a4f2eb4a 100644 --- a/libcons/dir-changed.c +++ b/libcons/dir-changed.c @@ -29,7 +29,7 @@ static error_t -add_one (cons_t cons, char *name) +add_one (cons_t cons, const char *name) { unsigned long int nr; char *tail; @@ -45,7 +45,7 @@ add_one (cons_t cons, char *name) } static error_t -lookup_one (cons_t cons, char *name, vcons_list_t *vcons_entry) +lookup_one (cons_t cons, const char *name, vcons_list_t *vcons_entry) { unsigned long int nr; char *tail; -- cgit v1.2.3