diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-26 06:12:29 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-26 06:12:29 +0000 |
commit | 8eea24b8d3e7ffc21dfda589482e794224017fcc (patch) | |
tree | d85333591dd43336931b4d6e72625cab4b97f24f /cpukit/include/rtems/pci.h | |
parent | 2007-07-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-8eea24b8d3e7ffc21dfda589482e794224017fcc.tar.bz2 |
2007-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bspIo.h, include/rtems/pci.h:
Add extern "C" guards. Reported by
Robert S. Grimes <rsg@alum.mit.edu>.
Diffstat (limited to 'cpukit/include/rtems/pci.h')
-rw-r--r-- | cpukit/include/rtems/pci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/pci.h b/cpukit/include/rtems/pci.h index 10ced83d8c..6a10633255 100644 --- a/cpukit/include/rtems/pci.h +++ b/cpukit/include/rtems/pci.h @@ -20,6 +20,10 @@ #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + /* * Under PCI, each device has 256 bytes of configuration address space, * of which the first 64 bytes are standardized as follows: @@ -1225,4 +1229,8 @@ pci_find_device( */ extern unsigned char pci_bus_count(); +#ifdef __cplusplus +} +#endif + #endif /* _RTEMS_PCI_H */ |