summaryrefslogtreecommitdiff
path: root/hw/eepro100.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-08-27 18:01:24 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:26 -0500
commitb84a5c6fa7f7211da9f81b2a73d2e340b5eca40d (patch)
treeeada637fa5bfc9ed7496354bccb5cfd0c5733b96 /hw/eepro100.c
parent58a04db1875679938c07bbec90032d1dd4fb0a48 (diff)
downloadqemu-b84a5c6fa7f7211da9f81b2a73d2e340b5eca40d.tar.gz
Remove typedef for bool from eepro100.c
eepro100.c shouldn't have the need to do this in its local header file. And I recently started getting this: $ make -j3 ... CC x86_64-softmmu/eepro100.o /home/amit/src/qemu/hw/eepro100.c:112: error: two or more data types in declaration specifiers /home/amit/src/qemu/hw/eepro100.c:112: warning: useless type name in empty declaration make[1]: *** [eepro100.o] Error 1 so just remove the typedef and include <stdbool.h> instead. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r--hw/eepro100.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c
index c374931dc2..68fec9c998 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -38,6 +38,7 @@
#endif
#include <stddef.h> /* offsetof */
+#include <stdbool.h>
#include "hw.h"
#include "pci.h"
#include "net.h"
@@ -109,8 +110,6 @@
#define INT_MASK 0x0100
#define DRVR_INT 0x0200 /* Driver generated interrupt. */
-typedef unsigned char bool;
-
/* Offsets to the various registers.
All accesses need not be longword aligned. */
enum speedo_offsets {