From d98cf5bed93e48f4cb3bdc5219a03207cd01c3ce Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 1 Aug 2008 11:25:41 +0000 Subject: fix typos and warnings in the device tree code (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/emulator/pcbios/pcibios.c | 4 ++-- src/devices/emulator/pcbios/pcibios.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/devices/emulator/pcbios') 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 */ -- cgit v1.2.3