cleanups spotted by irix cc

This commit is contained in:
Russ Cox
2005-12-29 23:15:58 +00:00
parent 3c84c725ef
commit 21b830b1ac
8 changed files with 22 additions and 42 deletions

View File

@ -72,7 +72,7 @@ so_connect(int fd, unsigned long raddr, unsigned short rport)
void
so_getsockname(int fd, unsigned long *laddr, unsigned short *lport)
{
uint len;
socklen_t len;
struct sockaddr_in sin;
len = sizeof(sin);
@ -97,7 +97,7 @@ int
so_accept(int fd, unsigned long *raddr, unsigned short *rport)
{
int nfd;
uint len;
socklen_t len;
struct sockaddr_in sin;
len = sizeof(sin);