aboutsummaryrefslogtreecommitdiff
path: root/trans/streamio.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 18:54:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 19:29:10 +0100
commitdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch)
treee8cc587d06c15befd9ab7212938bb0e05a029c23 /trans/streamio.c
parent2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff)
downloadhurd-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 'trans/streamio.c')
-rw-r--r--trans/streamio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trans/streamio.c b/trans/streamio.c
index fb449a8a..566f0aa5 100644
--- a/trans/streamio.c
+++ b/trans/streamio.c
@@ -520,7 +520,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)
{
error_t err;
@@ -998,7 +998,7 @@ dev_read (size_t amount, void **buf, size_t *len, int nowait)
error_t
device_read_reply_inband (mach_port_t reply, error_t errorcode,
- io_buf_ptr_inband_t data, u_int datalen)
+ const io_buf_ptr_inband_t data, u_int datalen)
{
if (reply != phys_reply)
return EOPNOTSUPP;