diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-10-08 15:33:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-10-08 15:33:52 +0000 |
commit | 67113c7655f2bb48f1a3b856f24195eb3077ded4 (patch) | |
tree | c7c5e9e2e26de4eb68e2ec7d8d7c5c5f82ff96a0 /c/src/lib/libbsp/i386/shared/pci/pcibios.h | |
parent | 2003-10-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-67113c7655f2bb48f1a3b856f24195eb3077ded4.tar.bz2 |
2003-10-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* comm/uart.h: Add extern "C" guards.
* pci/pcibios.h: Ditto.
Diffstat (limited to 'c/src/lib/libbsp/i386/shared/pci/pcibios.h')
-rw-r--r-- | c/src/lib/libbsp/i386/shared/pci/pcibios.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/shared/pci/pcibios.h b/c/src/lib/libbsp/i386/shared/pci/pcibios.h index a94df84e4c..30e6926418 100644 --- a/c/src/lib/libbsp/i386/shared/pci/pcibios.h +++ b/c/src/lib/libbsp/i386/shared/pci/pcibios.h @@ -30,6 +30,10 @@ #define PCIB_DEVSIG_DEV(x) (((x)>>3) & 0x1f) #define PCIB_DEVSIG_FUNC(x) ((x) & 0x7) +#ifdef __cplusplus +extern "C" { +#endif + int pcib_init(void); int pcib_find_by_devid(int vendorId, int devId, int idx, int *sig); int pcib_find_by_class(int classCode, int idx, int *sig); @@ -45,6 +49,9 @@ int BSP_pciFindDevice( unsigned short vendorid, unsigned short deviceid, int instance, int *pbus, int *pdev, int *pfun ); +#ifdef __cplusplus +} +#endif #endif /* _PCIB_H */ |