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") --- libnetfs/netfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnetfs/netfs.h') diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index ca506747..b877f0c6 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -494,7 +494,7 @@ typedef struct netfs_control *control_t; or missing -D_FILE_OFFSET_BITS=64 build flag. */ kern_return_t netfs_S_io_write (protid_t io_object, - data_t data, + const_data_t data, mach_msg_type_number_t dataCnt, loff_t offset, vm_size_t *amount); -- cgit v1.2.3