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. --- eth-multiplexer/device_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth-multiplexer/device_impl.c') diff --git a/eth-multiplexer/device_impl.c b/eth-multiplexer/device_impl.c index b6c30840..a6e6f59c 100644 --- a/eth-multiplexer/device_impl.c +++ b/eth-multiplexer/device_impl.c @@ -121,7 +121,7 @@ ds_device_write (struct vether_device *vdev, mach_port_t reply_port, kern_return_t ds_device_write_inband (struct vether_device *vdev, mach_port_t reply_port, mach_msg_type_name_t reply_type, dev_mode_t mode, - recnum_t recnum, const_io_buf_ptr_inband_t data, + recnum_t recnum, const io_buf_ptr_inband_t data, size_t datalen, int *bytes_written) { if (vdev == NULL) -- cgit v1.2.3