projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca1f62
)
add missing c++ extern "C" wrapping to link.h
author
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 20:52:17 +0000
(16:52 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 20:52:17 +0000
(16:52 -0400)
include/link.h
patch
|
blob
|
history
diff --git
a/include/link.h
b/include/link.h
index c30431e9c70209405a11ebb5615cb4b3879d8918..9349cddd5da7de4f7fa3e2abbda8cdad07d47151 100644
(file)
--- 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