diff options
author | Mark Johnston <markj@FreeBSD.org> | 2022-10-08 15:26:25 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2022-10-08 15:33:42 +0000 |
commit | 07d82562d8740bd53603b4f7e0780403ae835333 (patch) | |
tree | 9ee3b3e62251105bebd3cb5784d71ff9a2bae869 | |
parent | 98d920d9cf0b439ea351c60353626946971684f6 (diff) | |
download | src-07d82562d8740bd53603b4f7e0780403ae835333.tar.gz src-07d82562d8740bd53603b4f7e0780403ae835333.zip |
bhyve: Make pci_bars local to pci_emul.c
MFC after: 1 week
-rw-r--r-- | usr.sbin/bhyve/pci_emul.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c index 1b2f8b1a858e..2087c6597852 100644 --- a/usr.sbin/bhyve/pci_emul.c +++ b/usr.sbin/bhyve/pci_emul.c @@ -116,8 +116,9 @@ struct pci_bar_allocation { enum pcibar_type type; uint64_t size; }; -TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars = TAILQ_HEAD_INITIALIZER( - pci_bars); + +static TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars = + TAILQ_HEAD_INITIALIZER(pci_bars); #define PCI_EMUL_IOBASE 0x2000 #define PCI_EMUL_IOLIMIT 0x10000 |