usb: Fix compilation for MinGW (regression)
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.
Signed-off-by Stefan Weil <[email protected]>
--- hw/usb/host-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/host-stub.c +1 -1
@@ -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
Blue Swirl
AppliedThanks, applied.
Quoted 25 lines · Stefan Weil
84f2d0eaadded an argument to functionusb_host_info. The stub function must match the declaration inusb.h.Signed-off-by Stefan Weil <[email protected]>--- hw/usb/host-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/usb/host-stub.c +1
-2@@ -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