aboutsummaryrefslogtreecommitdiffstats
path: root/libelftc/_libelftc.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2015-03-31 20:01:37 +0000
committerEd Maste <emaste@FreeBSD.org>2015-03-31 20:01:37 +0000
commit84d41a2986852c0d7d820f95b41c1db1cc818027 (patch)
tree58f47e5186d1b0f72f6784d004bab62d148eede8 /libelftc/_libelftc.h
parentd356830d3d227b40603d19222ab35eb8f0f5c034 (diff)
downloadsrc-84d41a2986852c0d7d820f95b41c1db1cc818027.tar.gz
src-84d41a2986852c0d7d820f95b41c1db1cc818027.zip
Import ELF toolchain rev 3179vendor/elftoolchain/elftoolchain-r3179
Notes
Notes: svn path=/vendor/elftoolchain/dist/; revision=280917 svn path=/vendor/elftoolchain/elftoolchain-r3179/; revision=280918; tag=vendor/elftoolchain/elftoolchain-r3179
Diffstat (limited to 'libelftc/_libelftc.h')
-rw-r--r--libelftc/_libelftc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libelftc/_libelftc.h b/libelftc/_libelftc.h
index c300f9105aee..ba0b10112a57 100644
--- a/libelftc/_libelftc.h
+++ b/libelftc/_libelftc.h
@@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: _libelftc.h 2856 2013-01-04 16:00:26Z jkoshy $
+ * $Id: _libelftc.h 3174 2015-03-27 17:13:41Z emaste $
*/
#ifndef __LIBELFTC_H_
@@ -64,7 +64,9 @@ struct vector_str {
#define VECTOR_DEF_CAPACITY 8
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
char *cpp_demangle_ARM(const char *_org);
char *cpp_demangle_gnu2(const char *_org);
char *cpp_demangle_gnu3(const char *_org);
@@ -84,6 +86,8 @@ bool vector_str_push_vector_head(struct vector_str *_dst,
struct vector_str *_org);
char *vector_str_substr(const struct vector_str *_vs, size_t _begin,
size_t _end, size_t *_rlen);
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* __LIBELFTC_H */