From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq5n7-00026Z-Sg for qemu-devel@nongnu.org; Tue, 12 Apr 2016 17:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq5n3-0002Hj-Pd for qemu-devel@nongnu.org; Tue, 12 Apr 2016 17:24:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq5n3-0002Hb-K9 for qemu-devel@nongnu.org; Tue, 12 Apr 2016 17:24:05 -0400 References: <1460484949-5798-1-git-send-email-nutanshinde1992@gmail.com> From: Paolo Bonzini Message-ID: <570D676F.3060600@redhat.com> Date: Tue, 12 Apr 2016 23:23:59 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nutan Shinde , QEMU Developers On 12/04/2016 20:17, Nutan Shinde wrote: >=20 > -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: ret= urn type defaults to =E2=80=98int=E2=80=99 [-Werror=3Dimplicit-int] static console_exit(SCLPEvent *event) ^ cc1: all warnings being treated as errors Paolo