git: 1aa0ccf6f232 - stable/13 - bhyve: USB device model structures can be qualified with "static"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 19:47:54 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=1aa0ccf6f2329fa5f36e0012bea723386b5b2507
commit 1aa0ccf6f2329fa5f36e0012bea723386b5b2507
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-22 17:39:01 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 19:31:30 +0000
bhyve: USB device model structures can be qualified with "static"
No functional change intended.
MFC after: 1 week
(cherry picked from commit cd49c066a3565a37551d50d759c8d1b5a90b3859)
---
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,