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. --- trans/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trans/magic.c') diff --git a/trans/magic.c b/trans/magic.c index bc23e719..4e534e7a 100644 --- a/trans/magic.c +++ b/trans/magic.c @@ -150,7 +150,7 @@ magic_getroot (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) -- cgit v1.2.3