From fc1e671b53acda230c4188897e9a2f7ac2a95081 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 11 Jan 2006 14:36:43 +0000 Subject: [PATCH] Made C++ safe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15911 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/elf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/headers/private/kernel/arch/elf.h b/headers/private/kernel/arch/elf.h index 181b59e7a0..3e022ff167 100644 --- a/headers/private/kernel/arch/elf.h +++ b/headers/private/kernel/arch/elf.h @@ -9,11 +9,19 @@ struct Elf32_Rel; struct Elf32_Rela; struct elf_image_info; +#ifdef __cplusplus +extern "C" { +#endif + extern int arch_elf_relocate_rel(struct elf_image_info *image, const char *sym_prepend, struct elf_image_info *resolve_image, struct Elf32_Rel *rel, int rel_len); extern int arch_elf_relocate_rela(struct elf_image_info *image, const char *sym_prepend, struct elf_image_info *resolve_image, struct Elf32_Rela *rel, int rel_len); +#ifdef __cplusplus +} +#endif + #include #endif /* _KERNEL_ARCH_ELF_H */