diff mbox

usb: Fix compilation for MinGW (regression)

Message ID 1358549290-23228-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil Jan. 18, 2013, 10:48 p.m. UTC
84f2d0ea added an argument to function usb_host_info.
The stub function must match the declaration in usb.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 hw/usb/host-stub.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Blue Swirl Jan. 19, 2013, 2:01 p.m. UTC | #1
Thanks, applied.

On Fri, Jan 18, 2013 at 10:48 PM, Stefan Weil <sw@weilnetz.de> wrote:
> 84f2d0ea added an argument to function usb_host_info.
> The stub function must match the declaration in usb.h.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  hw/usb/host-stub.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/usb/host-stub.c b/hw/usb/host-stub.c
> index 58423a0..8affba7 100644
> --- a/hw/usb/host-stub.c
> +++ b/hw/usb/host-stub.c
> @@ -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
>
>
diff mbox

Patch

diff --git a/hw/usb/host-stub.c b/hw/usb/host-stub.c
index 58423a0..8affba7 100644
--- a/hw/usb/host-stub.c
+++ b/hw/usb/host-stub.c
@@ -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");
 }