qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/i386/vmport: Drop superfluous parenthesis around function


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/i386/vmport: Drop superfluous parenthesis around function typedef
Date: Wed, 3 Jun 2020 07:04:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 5/5/20 4:28 PM, Philippe Mathieu-Daudé wrote:
> Drop superfluous parenthesis around VMPortReadFunc typedef
> (added in d67f679d99, missed to remove when moved in e595112985).
> 
> Suggested-by: Richard Henderson <richard.henderson@linaro.org>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  hw/i386/vmport.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/i386/vmport.h b/hw/i386/vmport.h
> index 47eda7a22b..a6624e3045 100644
> --- a/hw/i386/vmport.h
> +++ b/hw/i386/vmport.h
> @@ -27,7 +27,7 @@
>  
>  #define TYPE_VMPORT "vmport"
>  
> -typedef uint32_t (VMPortReadFunc)(void *opaque, uint32_t address);
> +typedef uint32_t VMPortReadFunc(void *opaque, uint32_t address);
>  
>  void vmport_register(unsigned char command, VMPortReadFunc *func, void 
> *opaque);
>  
> 

ping?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]