Use socklen_t where appropriate.

Approved by:	alfred
This commit is contained in:
Stefan Farfeleder 2005-03-10 00:57:01 +00:00
parent e891d82b56
commit 720138bbde
2 changed files with 3 additions and 2 deletions

View File

@ -253,7 +253,8 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid)
nis_server tsrv;
void (*oldsig)() = NULL; /* old alarm handler */
struct sockaddr_in sin;
int s = RPC_ANYSOCK, len;
socklen_t len;
int s = RPC_ANYSOCK;
int type = 0;
td->tv_sec = 0;

View File

@ -78,7 +78,7 @@ rtime(addrp, timep, timeout)
int res;
unsigned long thetime;
struct sockaddr_in from;
int fromlen;
socklen_t fromlen;
int type;
struct servent *serv;