diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 18:54:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 19:29:10 +0100 |
commit | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch) | |
tree | e8cc587d06c15befd9ab7212938bb0e05a029c23 /eth-multiplexer | |
parent | 2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff) | |
download | hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.gz hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.bz2 hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.zip |
Make RPC input array parameters const
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server
side")
Diffstat (limited to 'eth-multiplexer')
-rw-r--r-- | eth-multiplexer/device_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth-multiplexer/device_impl.c b/eth-multiplexer/device_impl.c index a029f0be..b6c30840 100644 --- a/eth-multiplexer/device_impl.c +++ b/eth-multiplexer/device_impl.c @@ -44,7 +44,7 @@ extern struct port_info *notify_pi; kern_return_t ds_device_open (mach_port_t master_port, mach_port_t reply_port, mach_msg_type_name_t reply_portPoly, - dev_mode_t mode, dev_name_t name, mach_port_t *device, + dev_mode_t mode, const_dev_name_t name, mach_port_t *device, mach_msg_type_name_t *devicetype) { struct vether_device *dev; @@ -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, 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) |