]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Mark variables and functions as static where appropriate
authorMark Johnston <markj@FreeBSD.org>
Tue, 16 Aug 2022 17:12:32 +0000 (13:12 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 23 Aug 2022 20:06:14 +0000 (16:06 -0400)
commit976ed044fbbbc876628e2819352a06178adfcd1d
treed56e389f889d98c4c117293e9664088d85440434
parent974a015fb01660a837dc1ed65cce32837a23c184
bhyve: Mark variables and functions as static where appropriate

Mark them const as well when it makes sense to do so.  No functional
change intended.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 37045dfa891a75455ac19ddfb05cda2040343b4e)
25 files changed:
usr.sbin/bhyve/config.c
usr.sbin/bhyve/fwctl.c
usr.sbin/bhyve/gdb.c
usr.sbin/bhyve/hda_codec.c
usr.sbin/bhyve/mem.c
usr.sbin/bhyve/net_backends.c
usr.sbin/bhyve/pci_ahci.c
usr.sbin/bhyve/pci_e82545.c
usr.sbin/bhyve/pci_emul.c
usr.sbin/bhyve/pci_fbuf.c
usr.sbin/bhyve/pci_hda.c
usr.sbin/bhyve/pci_hostbridge.c
usr.sbin/bhyve/pci_lpc.c
usr.sbin/bhyve/pci_nvme.c
usr.sbin/bhyve/pci_passthru.c
usr.sbin/bhyve/pci_uart.c
usr.sbin/bhyve/pci_virtio_9p.c
usr.sbin/bhyve/pci_virtio_block.c
usr.sbin/bhyve/pci_virtio_console.c
usr.sbin/bhyve/pci_virtio_net.c
usr.sbin/bhyve/pci_virtio_rnd.c
usr.sbin/bhyve/pci_virtio_scsi.c
usr.sbin/bhyve/pci_xhci.c
usr.sbin/bhyve/rfb.c
usr.sbin/bhyve/virtio.c