From 9a562a9e06ed6298dd00a57611feb68b287f22f0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 29 May 2002 00:13:04 +0000 Subject: 2002-05-28 Roland McGrath * io-ops.c (S_io_write, S_io_read): u_int -> size_t (S_io_restrict_auth): Likewise. (S_io_reauthenticate): Likewise. * socket-ops.c (S_socket_getopt, S_socket_setopt): Likewise. (S_socket_send, S_socket_recv): Likewise. --- pfinet/socket-ops.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pfinet/socket-ops.c') diff --git a/pfinet/socket-ops.c b/pfinet/socket-ops.c index 5cbc74b3..e01ce2e3 100644 --- a/pfinet/socket-ops.c +++ b/pfinet/socket-ops.c @@ -1,5 +1,5 @@ /* Interface functions for the socket.defs interface. - Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,99,2000,02 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -79,7 +79,7 @@ S_socket_create (struct trivfs_protid *master, if (! err) isroot = 1; } - + err = - (*net_families[PF_INET]->create) (sock, protocol); if (err) sock_release (sock); @@ -368,7 +368,7 @@ S_socket_getopt (struct sock_user *user, int level, int option, char **data, - u_int *datalen) + size_t *datalen) { error_t err; @@ -395,7 +395,7 @@ S_socket_setopt (struct sock_user *user, int level, int option, char *data, - u_int datalen) + size_t datalen) { error_t err; @@ -422,11 +422,11 @@ S_socket_send (struct sock_user *user, struct sock_addr *addr, int flags, char *data, - u_int datalen, + size_t datalen, mach_port_t *ports, - u_int nports, + size_t nports, char *control, - u_int controllen, + size_t controllen, mach_msg_type_number_t *amount) { int sent; @@ -469,12 +469,12 @@ S_socket_recv (struct sock_user *user, mach_msg_type_name_t *addrporttype, int flags, char **data, - u_int *datalen, + size_t *datalen, mach_port_t **ports, mach_msg_type_name_t *portstype, - u_int *nports, + size_t *nports, char **control, - u_int *controllen, + size_t *controllen, int *outflags, mach_msg_type_number_t amount) { -- cgit v1.2.3