diff options
author | Chris Johns <chrisj@rtems.org> | 2022-08-19 16:50:24 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-08-22 08:30:00 +1000 |
commit | a329579ed5ef8e7d75e41b43e62b040007835b75 (patch) | |
tree | a83edd08d08440f87dc8e983010044c4c8eaca2b /cpukit/include/link_elf.h | |
parent | cpukit/include: Fixes for C++ (diff) | |
download | rtems-a329579ed5ef8e7d75e41b43e62b040007835b75.tar.bz2 |
cpukit/include: Fix including in C++
UPdates #4706
Diffstat (limited to 'cpukit/include/link_elf.h')
-rw-r--r-- | cpukit/include/link_elf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/link_elf.h b/cpukit/include/link_elf.h index 6cab3c2c7f..6483c021fd 100644 --- a/cpukit/include/link_elf.h +++ b/cpukit/include/link_elf.h @@ -13,6 +13,10 @@ #include <stdint.h> #include <rtems/rtl/rtl-obj-fwd.h> +#ifdef __cplusplus +extern "C" { +#endif + enum sections { rap_text = 0, @@ -76,4 +80,8 @@ int _rtld_linkmap_add (rtems_rtl_obj* obj); * Remove link map from the list. */ void _rtld_linkmap_delete (rtems_rtl_obj* obj); + +#ifdef __cplusplus +} +#endif #endif /* _LINK_ELF_H_ */ |