diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-02 16:52:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-02 16:52:17 -0400 |
commit | feff6b43e53cedf6887c9fcd4f3993a6244de5ef (patch) | |
tree | bdfdc2a740637c6bc558c45daca230037cfeb112 /include | |
parent | 9ca1f62b0c0d3e50480eb654ac941ff943ce0558 (diff) | |
download | musl-feff6b43e53cedf6887c9fcd4f3993a6244de5ef.tar.gz musl-feff6b43e53cedf6887c9fcd4f3993a6244de5ef.tar.bz2 musl-feff6b43e53cedf6887c9fcd4f3993a6244de5ef.tar.xz musl-feff6b43e53cedf6887c9fcd4f3993a6244de5ef.zip |
add missing c++ extern "C" wrapping to link.h
Diffstat (limited to 'include')
-rw-r--r-- | include/link.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index c30431e9..9349cddd 100644 --- a/include/link.h +++ b/include/link.h @@ -1,6 +1,10 @@ #ifndef _LINK_H #define _LINK_H +#ifdef __cplusplus +extern "C" { +#endif + #include <elf.h> #define __NEED_size_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 *); +#ifdef __cplusplus +} +#endif + #endif |