diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-20 09:00:11 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-20 09:00:11 +0000 |
commit | 6771a9e7961cf0efb2c4c981bad4dd66a229c8e1 (patch) | |
tree | 4f0074f06cef773179fd4dd9b0eb05f50b9bb458 /c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | |
parent | 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-6771a9e7961cf0efb2c4c981bad4dd66a229c8e1.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c index 20f2342503..5a129aea84 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c @@ -13,8 +13,6 @@ * found in the file LICENSE in this distribution or at * http://www.rtems.com/rtems/license.html. * - * pci.c,v 1.2 2002/05/14 17:10:16 joel Exp - * * Copyright 2004, Brookhaven National Laboratory and * Shuchen K. Feng, <feng1@bnl.gov>, 2004 * - modified and added support for MVME5500 board @@ -62,7 +60,7 @@ #define pci BSP_pci_configuration static int numPCIDevs=0; -extern void pci_interface(); +extern void pci_interface(void); /* Pack RegNum,FuncNum,DevNum,BusNum,and ConfigEnable for * PCI Configuration Address Register @@ -247,7 +245,7 @@ pci_config BSP_pci_configuration = {(volatile unsigned char*) PCI_CONFIG_ADDR, * it's not used. * */ -int pci_initialize() +int pci_initialize(void) { int deviceFound; unsigned char ucBusNumber, ucSlotNumber, ucFnNumber, ucNumFuncs; |