diff options
author | balrog <balrog> | 2007-05-23 22:21:27 +0000 |
---|---|---|
committer | balrog <balrog> | 2007-05-23 22:21:27 +0000 |
commit | f235f946f903d71b7711590aa7c4a22f4b6d3fb2 (patch) | |
tree | 17b35e77ef5a176735718c9f6fbb8cf1bfd286de /qemu/hw/pc.c | |
parent | 415ff7b9e6749deb50afa16a9b5c23e9216bff66 (diff) |
Use i2c_slave_init() to allocate the PXA (dummy) I2C slave.
Hush the warning:
hw/pc.c:402: warning: control reaches end of non-void function
Diffstat (limited to 'qemu/hw/pc.c')
-rw-r--r-- | qemu/hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/hw/pc.c b/qemu/hw/pc.c index a698ba54..388d6572 100644 --- a/qemu/hw/pc.c +++ b/qemu/hw/pc.c @@ -347,7 +347,7 @@ void bochs_bios_init(void) /* Generate an initial boot sector which sets state and jump to a specified vector */ -static int generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip) +static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip) { uint8_t bootsect[512], *p; int i; |