git: cd49c066a356 - main - bhyve: USB device model structures can be qualified with "static"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Oct 2022 15:18:39 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=cd49c066a3565a37551d50d759c8d1b5a90b3859
commit cd49c066a3565a37551d50d759c8d1b5a90b3859
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-22 17:39:01 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-10-23 15:11:33 +0000
bhyve: USB device model structures can be qualified with "static"
No functional change intended.
MFC after: 1 week
---
usr.sbin/bhyve/usb_mouse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/bhyve/usb_mouse.c b/usr.sbin/bhyve/usb_mouse.c
index fae7f4c29fa7..e76f6984c4fd 100644
--- a/usr.sbin/bhyve/usb_mouse.c
+++ b/usr.sbin/bhyve/usb_mouse.c
@@ -218,7 +218,7 @@ struct umouse_bos_desc {
} __packed;
-struct umouse_bos_desc umouse_bosd = {
+static struct umouse_bos_desc umouse_bosd = {
.bosd = {
.bLength = sizeof(umouse_bosd.bosd),
.bDescriptorType = UDESC_BOS,
@@ -809,7 +809,7 @@ done:
}
#endif
-struct usb_devemu ue_mouse = {
+static struct usb_devemu ue_mouse = {
.ue_emu = "tablet",
.ue_usbver = 3,
.ue_usbspeed = USB_SPEED_HIGH,