+2012-04-27 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2.h: Wrap function declarations in extern "C".
+
2012-04-27 Tom Tromey <tromey@redhat.com>
* dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
#define DW_EH_PE_indirect 0x80
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/* Return the name of a DW_TAG_ constant, or NULL if the value is not
recognized. */
extern const char *get_DW_TAG_name (unsigned int tag);
recognized. */
extern const char *get_DW_CFA_name (unsigned int opc);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* _DWARF2_H */