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:
parent
e982488e6c
commit
840dab8c47
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user