diff options
author | Mark Johnston <markj@FreeBSD.org> | 2019-09-27 21:04:33 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2019-09-27 21:04:33 +0000 |
commit | d3588766e1b4aa2d45ac3c9a12d6e718a13ab9a5 (patch) | |
tree | 6d989660eab8cddc986e24189549865c4927d1e1 /sys/dev/qlnx | |
parent | b4d3716bcca7c9f95ccc66d34a1e7474604302bc (diff) | |
download | src-d3588766e1b4aa2d45ac3c9a12d6e718a13ab9a5.tar.gz src-d3588766e1b4aa2d45ac3c9a12d6e718a13ab9a5.zip |
Correct the scope of several global variables.
They are accessed from multiple compilation units. No functional change
intended.
MFC after: 1 week
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=352823
Diffstat (limited to 'sys/dev/qlnx')
-rw-r--r-- | sys/dev/qlnx/qlnxe/qlnx_os.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c index 82dd0da1514a..cc3ae44e53b4 100644 --- a/sys/dev/qlnx/qlnxe/qlnx_os.c +++ b/sys/dev/qlnx/qlnxe/qlnx_os.c @@ -232,10 +232,9 @@ MODULE_DEPEND(if_qlnxev, ether, 1, 1, 1); MALLOC_DEFINE(M_QLNXBUF, "qlnxbuf", "Buffers for qlnx driver"); - -static char qlnx_dev_str[128]; -static char qlnx_ver_str[VER_SIZE]; -static char qlnx_name_str[NAME_SIZE]; +char qlnx_dev_str[128]; +char qlnx_ver_str[VER_SIZE]; +char qlnx_name_str[NAME_SIZE]; /* * Some PCI Configuration Space Related Defines |