diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-29 03:46:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-29 03:46:46 +0000 |
commit | 49c8f45f828a2c6c186eac1e13e0f499dd689787 (patch) | |
tree | c6f40bae054a7a5ce321308120a66bd3146b0502 /c/src/lib/libbsp/sparc/leon2/pci/pci.c | |
parent | 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-49c8f45f828a2c6c186eac1e13e0f499dd689787.tar.bz2 |
2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* pci/pci.c: Add prototypes for BusCountPCI(void), init_pci(void).
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/pci/pci.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/pci/pci.c b/c/src/lib/libbsp/sparc/leon2/pci/pci.c index 8394960072..4d7fe1771a 100644 --- a/c/src/lib/libbsp/sparc/leon2/pci/pci.c +++ b/c/src/lib/libbsp/sparc/leon2/pci/pci.c @@ -589,7 +589,7 @@ done: /* * This routine determines the maximum bus number in the system */ -int init_pci() +int init_pci(void) { unsigned char ucSlotNumber, ucFnNumber, ucNumFuncs; unsigned char ucHeader; @@ -668,7 +668,7 @@ int init_pci() /* * Return the number of PCI busses in the system */ -unsigned char BusCountPCI() +unsigned char BusCountPCI(void) { return(ucMaxPCIBus+1); } |