From dd3048b2e483f66571cfa1b2ccebb2091b9ad990 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Jan 2022 18:54:19 +0100 Subject: Make RPC input array parameters const This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side") --- storeio/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storeio/io.c') diff --git a/storeio/io.c b/storeio/io.c index 62bc514f..94bd559a 100644 --- a/storeio/io.c +++ b/storeio/io.c @@ -125,7 +125,7 @@ trivfs_S_io_readable (struct trivfs_protid *cred, error_t trivfs_S_io_write (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, - data_t data, mach_msg_type_number_t data_len, + const_data_t data, mach_msg_type_number_t data_len, loff_t offs, mach_msg_type_number_t *amount) { if (! cred) -- cgit v1.2.3