summaryrefslogtreecommitdiff
path: root/src/devices/emulator/pcbios
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-01 11:25:41 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-01 11:25:41 +0000
commitd98cf5bed93e48f4cb3bdc5219a03207cd01c3ce (patch)
tree072e22c0b4436607b18af31205c4fc50b3b8911e /src/devices/emulator/pcbios
parent8533606db71ef9c4f77983eaea1b2f27c9bb7baf (diff)
fix typos and warnings in the device tree code (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/emulator/pcbios')
-rw-r--r--src/devices/emulator/pcbios/pcibios.c4
-rw-r--r--src/devices/emulator/pcbios/pcibios.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/emulator/pcbios/pcibios.c b/src/devices/emulator/pcbios/pcibios.c
index be5c91a0f1..3d645f7359 100644
--- a/src/devices/emulator/pcbios/pcibios.c
+++ b/src/devices/emulator/pcbios/pcibios.c
@@ -7,9 +7,9 @@
#include "pcibios.h"
-int pcibios_handler()
+int pcibios_handler(void)
{
- int i, ret = 0;
+ int ret = 0;
struct device *dev = 0;
switch (X86_AX) {
diff --git a/src/devices/emulator/pcbios/pcibios.h b/src/devices/emulator/pcbios/pcibios.h
index 75a1253d25..2ad9b83561 100644
--- a/src/devices/emulator/pcbios/pcibios.h
+++ b/src/devices/emulator/pcbios/pcibios.h
@@ -25,4 +25,7 @@ enum {
SET_FAILED = 0x88,
BUFFER_TOO_SMALL = 0x89
};
-#endif /* PCI_BIOS_H */ \ No newline at end of file
+
+int pcibios_handler(void);
+
+#endif /* PCI_BIOS_H */