Received: from [140.186.70.92] (port=49193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PI5Gj-00024x-5R for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:03:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PI5GB-0005Gc-U3 for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:03:10 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:49842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PI5GB-0005G2-LQ for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:02:39 -0500 Message-Id: <3600835A-8E76-4490-BBEA-CE5DC23BD87D@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <1289846383-16456-1-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] [PATCH] *-dis: Replace fprintf_ftype by fprintf_function (format checking) Date: Mon, 15 Nov 2010 21:01:43 +0100 References: <1289846383-16456-1-git-send-email-weil@mail.berlios.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers Am 15.11.2010 um 19:39 schrieb Stefan Weil: > This patch adds more printf format checking. > > Additional modifications were needed for this code change: > > * alpha-dis.c: The local definition of MAX conflicts with > a previous definition from osdep.h, so add an #undef. > > * dis-asm.h: Add include for fprintf_function (qemu-common.h). > The standard (now redundant) includes are removed. > > * mis-dis.c: :-) [...] > alpha-dis.c | 3 +++ > arm-dis.c | 14 +++++++------- > dis-asm.h | 10 ++-------- > m68k-dis.c | 2 +- > microblaze-dis.c | 2 +- > mips-dis.c | 2 -- > sh4-dis.c | 16 +++++----------- > 7 files changed, 19 insertions(+), 30 deletions(-)