]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* dwarf2.h: Wrap function declarations in extern "C".
authorTom Tromey <tromey@redhat.com>
Fri, 27 Apr 2012 16:58:53 +0000 (16:58 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 27 Apr 2012 16:58:53 +0000 (16:58 +0000)
From-SVN: r186918

include/ChangeLog
include/dwarf2.h

index 8c5a1bf789c0ff0f16d0c36fbe428f2cd1aac1c0..386191088df3610833774d273959a734b55049cd 100644 (file)
@@ -1,3 +1,7 @@
+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)
index c86b022b6ea28c13f08ba9ed8cfaeffd51817fde..0be7a99c856b00d7e40b96585c86bb3e243c5bd2 100644 (file)
@@ -361,6 +361,10 @@ enum dwarf_macro_record_type
 #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);
@@ -385,4 +389,8 @@ extern const char *get_DW_ATE_name (unsigned int enc);
    recognized.  */
 extern const char *get_DW_CFA_name (unsigned int opc);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* _DWARF2_H */