Skip to contentSkip to conversation

usb: Fix compilation for MinGW (regression)

PATCH Applied Stefan Weil 2 participants 2 messages Jan 18, 2013 – Jan 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: Fix compilation for MinGW (regression)

84f2d0ea added an argument to function usb_host_info. The stub function must match the declaration in usb.h.

---
 hw/usb/host-stub.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/host-stub.c +1 -1
index 58423a0..8affba7 100644
@@ -35,7 +35,7 @@
 #include "hw/usb.h"
 #include "monitor/monitor.h"
 
-void usb_host_info(Monitor *mon)
+void usb_host_info(Monitor *mon, const QDict *qdict)
 {
     monitor_printf(mon, "USB host devices not supported\n");
 }
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

Thanks, applied.

Quoted 25 lines · Stefan Weil

84f2d0ea added an argument to function usb_host_info. The stub function must match the declaration in usb.h.

---
 hw/usb/host-stub.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/host-stub.c +1 -2
index 58423a0..8affba7 100644
@@ -35,7 +35,7 @@
 #include "hw/usb.h"
 #include "monitor/monitor.h"
 
-void usb_host_info(Monitor *mon)
+void usb_host_info(Monitor *mon, const QDict *qdict)
 {
     monitor_printf(mon, "USB host devices not supported\n");
 }
--

1.7.10.4