Re: [PATCH 17/21] Remove #define __user in usb-linux.c

Avi Kivity
2009-04-30T09:43:36Z

Anthony Liguori wrote:
> This has been consistently nacked in upstream QEMU.
>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> ---
> usb-linux.c | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/usb-linux.c b/usb-linux.c
> index 26643bd..70d7a1c 100644
> --- a/usb-linux.c
> +++ b/usb-linux.c
> @@ -34,10 +34,6 @@
> #include "qemu-timer.h"
> #include "monitor.h"
>
> -#if defined(__linux__)
> -#define __user
> -#endif
> -
>

This will introduce a regression into qemu-kvm.git.

--
error compiling committee.c: too many arguments to function