mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
iscontrol: move definition of vflag/iscsidev to iscontrol.c
Mark the declaration extern as these are used elsewhere; this fixes the build with -fno-common. MFC after: 3 days
This commit is contained in:
parent
0690ee732a
commit
b4cd5daf75
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359414
@ -82,6 +82,9 @@ token_t DigestMethods[] = {
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
int vflag;
|
||||
char *iscsidev;
|
||||
|
||||
u_char isid[6 + 6];
|
||||
/*
|
||||
| Default values
|
||||
|
@ -149,8 +149,8 @@ int recvpdu(isess_t *sess, pdu_t *pp);
|
||||
|
||||
int lookup(token_t *tbl, char *m);
|
||||
|
||||
int vflag;
|
||||
char *iscsidev;
|
||||
extern int vflag;
|
||||
extern char *iscsidev;
|
||||
|
||||
void parseArgs(int nargs, char **args, isc_opt_t *op);
|
||||
void parseConfig(FILE *fd, char *key, isc_opt_t *op);
|
||||
|
Loading…
Reference in New Issue
Block a user