aboutsummaryrefslogtreecommitdiff
path: root/libcons
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:32:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:43:09 +0100
commitf5fb7c713ea443469406a691e60a6f4567a4cb75 (patch)
treeb16d979915b5ad7e32ffe77ca5f5006dc639a16e /libcons
parentdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff)
downloadhurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.gz
hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.bz2
hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.zip
Fix const warnings
Now that the RPCs have const, this forces us cleaning our const-meant functions.
Diffstat (limited to 'libcons')
-rw-r--r--libcons/dir-changed.c4
1 files changed, 2 insertions, 2 deletions
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;