mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +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 MAXLINE 200
|
||||||
#define TIMEOUT 5 /* secs between rexmt's */
|
#define TIMEOUT 5 /* secs between rexmt's */
|
||||||
|
|
||||||
static struct sockaddr_storage peeraddr;
|
typedef struct sockaddr_storage peeraddr;
|
||||||
static int connected;
|
static int connected;
|
||||||
static char mode[32];
|
static char mode[32];
|
||||||
jmp_buf toplevel;
|
jmp_buf toplevel;
|
||||||
|
Loading…
Reference in New Issue
Block a user