diff options
author | Jan Sommer <jan.sommer@dlr.de> | 2020-10-29 14:11:32 +0100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-10-30 13:21:46 +1100 |
commit | f84c4a5b8107867a78326cca754c5278df768bb8 (patch) | |
tree | 000cde947d893c7b1c7d1e54a302c181fe4bd1c6 | |
parent | libfs/rfs: Check search bit map end on last bit (diff) | |
download | rtems-f84c4a5b8107867a78326cca754c5278df768bb8.tar.bz2 |
confdefs: Add extern C guards to libpci.h
Closes #4169
-rw-r--r-- | cpukit/include/rtems/confdefs/libpci.h | 8 |
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 */ |