|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] Fwd: [PATCH v2 2/5] Change return type of functions that are named *_exit or *_exitfn in hw/char from int to void |
| Date: | Tue, 12 Apr 2016 23:23:59 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 12/04/2016 20:17, Nutan Shinde wrote:
>
> -static int console_exit(SCLPEvent *event)
> +static console_exit(SCLPEvent *event)
> {
> - return 0;
This patch doesn't even compile:
CC hw/char/sclpconsole.o
/home/pbonzini/work/upstream/qemu/hw/char/sclpconsole.c:245:8: error: return
type defaults to ‘int’ [-Werror=implicit-int]
static console_exit(SCLPEvent *event)
^
cc1: all warnings being treated as errors
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |