diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-29 00:13:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-29 00:13:04 +0000 |
commit | 9a562a9e06ed6298dd00a57611feb68b287f22f0 (patch) | |
tree | 775cd6c5d04496ec6c28508c6e9e3370aa166410 /pfinet/io-ops.c | |
parent | 9f91ef5d685203ad473bd4da1dd4309a981d5e1d (diff) |
2002-05-28 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'pfinet/io-ops.c')
-rw-r--r-- | pfinet/io-ops.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pfinet/io-ops.c b/pfinet/io-ops.c index bd4f590c..4964c80a 100644 --- a/pfinet/io-ops.c +++ b/pfinet/io-ops.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995,96,97,98,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2000,02 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -36,7 +36,7 @@ error_t S_io_write (struct sock_user *user, char *data, - u_int datalen, + size_t datalen, off_t offset, mach_msg_type_number_t *amount) { @@ -69,7 +69,7 @@ S_io_write (struct sock_user *user, error_t S_io_read (struct sock_user *user, char **data, - u_int *datalen, + size_t *datalen, off_t offset, mach_msg_type_number_t amount) { @@ -318,9 +318,9 @@ S_io_reauthenticate (struct sock_user *user, struct sock_user *newuser; uid_t gubuf[20], ggbuf[20], aubuf[20], agbuf[20]; uid_t *gen_uids, *gen_gids, *aux_uids, *aux_gids; - u_int genuidlen, gengidlen, auxuidlen, auxgidlen; + size_t genuidlen, gengidlen, auxuidlen, auxgidlen; error_t err; - int i, j; + size_t i, j; auth_t auth; mach_port_t newright; @@ -391,10 +391,8 @@ error_t S_io_restrict_auth (struct sock_user *user, mach_port_t *newobject, mach_msg_type_name_t *newobject_type, - uid_t *uids, - u_int uidslen, - uid_t *gids, - u_int gidslen) + uid_t *uids, size_t uidslen, + uid_t *gids, size_t gidslen) { struct sock_user *newuser; int i, j; |