summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Sommer <jan.sommer@dlr.de>2020-10-29 14:11:32 +0100
committerChris Johns <chrisj@rtems.org>2020-10-30 13:21:46 +1100
commitf84c4a5b8107867a78326cca754c5278df768bb8 (patch)
tree000cde947d893c7b1c7d1e54a302c181fe4bd1c6
parentlibfs/rfs: Check search bit map end on last bit (diff)
downloadrtems-f84c4a5b8107867a78326cca754c5278df768bb8.tar.bz2
confdefs: Add extern C guards to libpci.h
Closes #4169
-rw-r--r--cpukit/include/rtems/confdefs/libpci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/confdefs/libpci.h b/cpukit/include/rtems/confdefs/libpci.h
index a68eea1903..05731f5686 100644
--- a/cpukit/include/rtems/confdefs/libpci.h
+++ b/cpukit/include/rtems/confdefs/libpci.h
@@ -21,6 +21,10 @@
#error "Do not include this file directly, use <rtems/confdefs.h> instead"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Select PCI Configuration Library
*/
@@ -67,4 +71,8 @@
#endif
#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* _RTEMS_CONFDEFS_LIBPCI_H */