From patchwork Thu Oct 22 14:36:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 36686 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3D194B7BB6 for ; Fri, 23 Oct 2009 02:02:15 +1100 (EST) Received: from localhost ([127.0.0.1]:45050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0zB6-0001PL-Ir for incoming@patchwork.ozlabs.org; Thu, 22 Oct 2009 11:02:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0ymi-0007hc-2N for qemu-devel@nongnu.org; Thu, 22 Oct 2009 10:37:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0ymb-0007dv-Dt for qemu-devel@nongnu.org; Thu, 22 Oct 2009 10:36:57 -0400 Received: from [199.232.76.173] (port=46177 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0ymb-0007dr-9j for qemu-devel@nongnu.org; Thu, 22 Oct 2009 10:36:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1892) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0yma-0007G2-Sp for qemu-devel@nongnu.org; Thu, 22 Oct 2009 10:36:53 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9MEaq6v016681 for ; Thu, 22 Oct 2009 10:36:52 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9MEaaid026416; Thu, 22 Oct 2009 10:36:51 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 22 Oct 2009 16:36:25 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 12/20] c4231a: remove IO_WRITE_PROTO X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/cs4231a.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/hw/cs4231a.c b/hw/cs4231a.c index 8a91b29..a077edc 100644 --- a/hw/cs4231a.c +++ b/hw/cs4231a.c @@ -74,9 +74,6 @@ typedef struct CSState { int16_t *tab; } CSState; -#define IO_WRITE_PROTO(name) \ - static void name (void *opaque, uint32_t addr, uint32_t val) - #define GET_SADDR(addr) (addr & 3) #define MODE2 (1 << 6) @@ -387,7 +384,7 @@ static uint32_t cs_read (void *opaque, uint32_t addr) return ret; } -IO_WRITE_PROTO (cs_write) +static void cs_write (void *opaque, uint32_t addr, uint32_t val) { CSState *s = opaque; uint32_t saddr, iaddr;