Message ID | cb952f199f6b155f3c898571705da3aff57c3b2d.1256221009.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
On Thu, 22 Oct 2009, Juan Quintela wrote: No. [..snip..]
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;
Signed-off-by: Juan Quintela <quintela@redhat.com> --- hw/cs4231a.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)