mirror of
https://github.com/fluencelabs/musl
synced 2025-06-14 15:31:42 +00:00
add missing c++ extern "C" wrapping to link.h
This commit is contained in:
@ -1,6 +1,10 @@
|
|||||||
#ifndef _LINK_H
|
#ifndef _LINK_H
|
||||||
#define _LINK_H
|
#define _LINK_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#define __NEED_size_t
|
#define __NEED_size_t
|
||||||
#define __NEED_uint32_t
|
#define __NEED_uint32_t
|
||||||
@ -43,4 +47,8 @@ struct r_debug {
|
|||||||
|
|
||||||
int dl_iterate_phdr(int (*)(struct dl_phdr_info *, size_t, void *), void *);
|
int dl_iterate_phdr(int (*)(struct dl_phdr_info *, size_t, void *), void *);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user