git: 03851ae8cd4d - stable/13 - bhyve: Mark pci_de_vinput as static.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 20:27:08 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=03851ae8cd4dcbffdbb7a72533cab28b19ed1e9e
commit 03851ae8cd4dcbffdbb7a72533cab28b19ed1e9e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-01-26 20:19:12 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 20:22:43 +0000
bhyve: Mark pci_de_vinput as static.
Originally in main this was fixed in commit 37045dfa891a. However,
when that commit was merged to stable/13 in commit 976ed044fbbb,
pci_virtio_input was not yet merged to stable/13. This is a direct
commit to complete the earlier MFC.
---
usr.sbin/bhyve/pci_virtio_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/bhyve/pci_virtio_input.c b/usr.sbin/bhyve/pci_virtio_input.c
index 1e7726dfc101..d4a39ed0afdd 100644
--- a/usr.sbin/bhyve/pci_virtio_input.c
+++ b/usr.sbin/bhyve/pci_virtio_input.c
@@ -770,7 +770,7 @@ failed:
return (-1);
}
-struct pci_devemu pci_de_vinput = {
+static struct pci_devemu pci_de_vinput = {
.pe_emu = "virtio-input",
.pe_init = pci_vtinput_init,
.pe_legacy_config = pci_vtinput_legacy_config,