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:
parent
8dc79f22fa
commit
7c9acc776a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223926
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user