aboutsummaryrefslogtreecommitdiff
path: root/libtrivfs/trivfs.h
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 /libtrivfs/trivfs.h
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 'libtrivfs/trivfs.h')
-rw-r--r--libtrivfs/trivfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h
index 4b96f224..c9e5defa 100644
--- a/libtrivfs/trivfs.h
+++ b/libtrivfs/trivfs.h
@@ -154,7 +154,7 @@ extern error_t (*trivfs_getroot_hook) (struct trivfs_control *cntl,
mach_port_t reply_port,
mach_msg_type_name_t reply_port_type,
mach_port_t dotdot,
- uid_t *uids, u_int nuids, uid_t *gids, u_int ngids,
+ const uid_t *uids, u_int nuids, const uid_t *gids, u_int ngids,
int flags,
retry_type *do_retry, char *retry_name,
mach_port_t *node, mach_msg_type_name_t *node_type);
@@ -234,7 +234,7 @@ extern struct argp *trivfs_runtime_argp;
for this routine simply uses TRIVFS_RUNTIME_ARGP (supply FSYS as the argp
input field). */
error_t trivfs_set_options (struct trivfs_control *fsys,
- char *argz, size_t argz_len);
+ const char *argz, size_t argz_len);
/* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated
list of the arguments to this translator. The default definition of this