git: 84633b9d5244 - main - bhyve: Put the prototype for vga_render() in a header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Oct 2022 15:18:44 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=84633b9d5244c5bd0438d2969e021ec01066b107 commit 84633b9d5244c5bd0438d2969e021ec01066b107 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-10-23 14:22:39 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-10-23 15:11:33 +0000 bhyve: Put the prototype for vga_render() in a header No functional change intended. MFC after: 1 week --- usr.sbin/bhyve/pci_fbuf.c | 3 --- usr.sbin/bhyve/vga.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bhyve/pci_fbuf.c b/usr.sbin/bhyve/pci_fbuf.c index 43b53931f14c..d69e8254aa25 100644 --- a/usr.sbin/bhyve/pci_fbuf.c +++ b/usr.sbin/bhyve/pci_fbuf.c @@ -346,9 +346,6 @@ pci_fbuf_parse_config(struct pci_fbuf_softc *sc, nvlist_t *nvl) return (0); } - -extern void vga_render(struct bhyvegc *gc, void *arg); - static void pci_fbuf_render(struct bhyvegc *gc, void *arg) { diff --git a/usr.sbin/bhyve/vga.h b/usr.sbin/bhyve/vga.h index 36c6dc15fa9e..f4c631a9305b 100644 --- a/usr.sbin/bhyve/vga.h +++ b/usr.sbin/bhyve/vga.h @@ -157,6 +157,8 @@ #define DAC_IDX_WR_PORT 0x3c8 #define DAC_DATA_PORT 0x3c9 +struct bhyvegc; void *vga_init(int io_only); +void vga_render(struct bhyvegc *gc, void *arg); #endif /* _VGA_H_ */