Date: Sun, 29 Mar 2020 02:28:15 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359414 - head/sbin/iscontrol Message-ID: <202003290228.02T2SFmk035920@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sun Mar 29 02:28:15 2020 New Revision: 359414 URL: https://svnweb.freebsd.org/changeset/base/359414 Log: 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 Modified: head/sbin/iscontrol/iscontrol.c head/sbin/iscontrol/iscontrol.h Modified: head/sbin/iscontrol/iscontrol.c ============================================================================== --- head/sbin/iscontrol/iscontrol.c Sun Mar 29 02:26:58 2020 (r359413) +++ head/sbin/iscontrol/iscontrol.c Sun Mar 29 02:28:15 2020 (r359414) @@ -82,6 +82,9 @@ token_t DigestMethods[] = { {0, 0} }; +int vflag; +char *iscsidev; + u_char isid[6 + 6]; /* | Default values Modified: head/sbin/iscontrol/iscontrol.h ============================================================================== --- head/sbin/iscontrol/iscontrol.h Sun Mar 29 02:26:58 2020 (r359413) +++ head/sbin/iscontrol/iscontrol.h Sun Mar 29 02:28:15 2020 (r359414) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003290228.02T2SFmk035920>