Patchwork usb: Fix compilation for MinGW (regression)

login
register
mail settings
Submitter Stefan Weil
Date Jan. 18, 2013, 10:48 p.m.
Message ID <1358549290-23228-1-git-send-email-sw@weilnetz.de>
Download mbox | patch
Permalink /patch/213759/
State Accepted
Headers show

Comments

Stefan Weil - Jan. 18, 2013, 10:48 p.m.
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(-)
Blue Swirl - Jan. 19, 2013, 2:01 p.m.
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
>
>

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");
 }