Merged in antmerlino/nuttx/elf-cplusplus-guard (pull request #826)

include/nuttx/elf.h: Adds missing extern "C" __cplusplus guard.

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Anthony Merlino 2019-02-19 15:24:25 +00:00 committed by GregoryN
parent e982488e6c
commit 840dab8c47

View File

@ -46,6 +46,11 @@
* Public Function Prototypes
****************************************************************************/
#if defined(__cplusplus)
extern "C"
{
#endif
/****************************************************************************
* Name: up_checkarch
*
@ -115,4 +120,8 @@ int up_relocateadd(FAR const Elf32_Rela *rel,
int up_init_exidx(Elf32_Addr address, Elf32_Word size);
#endif
#if defined(__cplusplus)
}
#endif
#endif /* __INCLUDE_NUTTX_ELF_H */