1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223926

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;