peeraddr is only used in sizeof() evaluations, so instead of declaring it

a variable, use typedef.

MFC after:	1 month
This commit is contained in:
Xin LI 2011-07-11 05:57:49 +00:00
parent 8dc79f22fa
commit 7c9acc776a

View File

@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$");
#define MAXLINE 200
#define TIMEOUT 5 /* secs between rexmt's */
static struct sockaddr_storage peeraddr;
typedef struct sockaddr_storage peeraddr;
static int connected;
static char mode[32];
jmp_buf toplevel;