From 34d621185d6dadae816068bedede89570bf2d88b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jan 2002 05:42:35 +0000 Subject: 2002-01-01 Roland McGrath * io.defs (io_write, io_read, io_readable): Use size_t in place of mach_msg_type_number_t. * socket.defs (socket_send, socket_recv): Likewise. --- hurd/io.defs | 9 ++++----- hurd/socket.defs | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/hurd/io.defs b/hurd/io.defs index 75a8f58b..dd4bb8db 100644 --- a/hurd/io.defs +++ b/hurd/io.defs @@ -1,5 +1,5 @@ /* Definitions for generic IO interface - Copyright (C) 1991, 1993, 1994, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright (C) 1991,93,94,95,96,99,2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -44,7 +44,7 @@ routine io_write ( RPT data: data_t SCP; offset: off_t; - out amount: mach_msg_type_number_t); + out amount: size_t); /* Read data from an IO object. If offset if -1, read from the object maintained file pointer. If the object is not seekable, offset is @@ -54,7 +54,7 @@ routine io_read ( RPT out data: data_t, dealloc; offset: off_t; - amount: mach_msg_type_number_t); + amount: size_t); /* Change current read/write offset */ routine io_seek ( @@ -70,7 +70,7 @@ routine io_seek ( routine io_readable ( io_object: io_t; RPT - out amount: mach_msg_type_number_t); + out amount: size_t); /* These four routines modify the O_APPEND, O_ASYNC, O_FSYNC, and O_NONBLOCK bits for the IO object. In addition, io_get_openmodes @@ -322,4 +322,3 @@ routine io_identity ( on the specified object. */ routine io_revoke ( io_object: io_t RPTLAST); - diff --git a/hurd/socket.defs b/hurd/socket.defs index f71930ea..dc7cb244 100644 --- a/hurd/socket.defs +++ b/hurd/socket.defs @@ -1,5 +1,5 @@ /* Definitions for socket interface - Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation + Copyright (C) 1991,93,94,95,2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -122,7 +122,7 @@ routine socket_send ( data: data_t SCP; ports: portarray_t SCP; control: data_t SCP; - out amount: mach_msg_type_number_t); + out amount: size_t); /* Receive data from a socket, possibly including Mach ports. */ routine socket_recv ( @@ -133,4 +133,4 @@ routine socket_recv ( out ports: portarray_t, dealloc; out control: data_t, dealloc; out outflags: int; - amount: mach_msg_type_number_t); + amount: size_t); -- cgit v1.2.3