aboutsummaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-08 01:44:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-08 02:28:06 +0200
commite9ac14979a70d0b36684fb4bac031daa7dcb9a6a (patch)
treee69f9022b401279db40640416b5f01e4b9e8a79a /trans
parent71ce0089f78fc27231f39e9aef7356e9e72ed759 (diff)
downloadhurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.tar.gz
hurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.tar.bz2
hurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.zip
Get rid of u_int in RPCs
To get mach_msg_type_number_t everywhere
Diffstat (limited to 'trans')
-rw-r--r--trans/firmlink.c2
-rw-r--r--trans/magic.c2
-rw-r--r--trans/streamio.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/trans/firmlink.c b/trans/firmlink.c
index 5101b1bb..6e2798e6 100644
--- a/trans/firmlink.c
+++ b/trans/firmlink.c
@@ -140,7 +140,7 @@ static error_t
getroot (struct trivfs_control *cntl,
mach_port_t reply_port, mach_msg_type_name_t reply_port_type,
mach_port_t dotdot,
- const uid_t *uids, u_int nuids, const uid_t *gids, u_int ngids,
+ const uid_t *uids, mach_msg_type_number_t nuids, const uid_t *gids, mach_msg_type_number_t ngids,
int flags,
retry_type *do_retry, char *retry_name,
mach_port_t *node, mach_msg_type_name_t *node_type)
diff --git a/trans/magic.c b/trans/magic.c
index 5c477df1..7c809fbc 100644
--- a/trans/magic.c
+++ b/trans/magic.c
@@ -150,7 +150,7 @@ magic_getroot (struct trivfs_control *cntl,
mach_port_t reply_port,
mach_msg_type_name_t reply_port_type,
mach_port_t dotdot,
- const uid_t *uids, u_int nuids, const uid_t *gids, u_int ngids,
+ const uid_t *uids, mach_msg_type_number_t nuids, const uid_t *gids, mach_msg_type_number_t ngids,
int flags,
retry_type *do_retry, char *retry_name,
mach_port_t *node, mach_msg_type_name_t *node_type)
diff --git a/trans/streamio.c b/trans/streamio.c
index 272a002c..991f9ad5 100644
--- a/trans/streamio.c
+++ b/trans/streamio.c
@@ -1040,7 +1040,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,
- const io_buf_ptr_inband_t data, u_int datalen)
+ const io_buf_ptr_inband_t data, mach_msg_type_number_t datalen)
{
if (reply != phys_reply)
return EOPNOTSUPP;