summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/pci.h')
-rw-r--r--cpukit/include/rtems/pci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/pci.h b/cpukit/include/rtems/pci.h
index 162254c58d..6e0f796faf 100644
--- a/cpukit/include/rtems/pci.h
+++ b/cpukit/include/rtems/pci.h
@@ -18,6 +18,10 @@
#ifndef _RTEMS_PCI_H
#define _RTEMS_PCI_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:
@@ -1222,4 +1226,8 @@ pci_find_device(
*/
extern unsigned char pci_bus_count();
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RTEMS_PCI_H */