diff options
author | Roland McGrath <roland@gnu.org> | 1994-12-09 06:22:54 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-12-09 06:22:54 +0000 |
commit | 228ff150ef5b76d387ba467cd56fa847f7b3b001 (patch) | |
tree | 2c8494054b9a0fe98f00134e85b936bf58e3f6cf /boot | |
parent | efbc3e0168a6b285603e2a16528cdd315d857677 (diff) |
Use mach_msg_type_number_t in place of unsigned int and int.
Diffstat (limited to 'boot')
-rw-r--r-- | boot/boot.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/boot/boot.c b/boot/boot.c index bef7efb3..14d0a89a 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -1426,9 +1426,9 @@ S_io_write (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, char *data, - u_int datalen, + mach_msg_type_number_t datalen, off_t offset, - int *amtwritten) + mach_msg_type_number_t *amtwritten) { if (object != pseudo_console) return EOPNOTSUPP; @@ -1451,11 +1451,11 @@ S_io_read (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, char **data, - u_int *datalen, + mach_msg_type_number_t *datalen, off_t offset, - int amount) + mach_msg_type_number_t amount) { - int avail; + mach_msg_type_number_t avail; if (object != pseudo_console) return EOPNOTSUPP; @@ -1498,7 +1498,7 @@ kern_return_t S_io_readable (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, - int *amt) + mach_msg_type_number_t *amt) { if (object != pseudo_console) return EOPNOTSUPP; |