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
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_checkarch
|
* 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);
|
int up_init_exidx(Elf32_Addr address, Elf32_Word size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __INCLUDE_NUTTX_ELF_H */
|
#endif /* __INCLUDE_NUTTX_ELF_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user