Wrap BFD headers in extern "C"
[deliverable/binutils-gdb.git] / bfd / libbfd.h
index a1c0a01cc710d1a9d4727f3ff1a8e95652c190b1..bd56afbefb9981bc9b023fea07d1397b7686179d 100644 (file)
 
 #include "hashtab.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Align an address upward to a boundary, expressed as a number of bytes.
    E.g. align to an 8-byte boundary with argument of 8.  Take care never
    to wrap around if the address is within boundary-1 of the end of the
@@ -3015,3 +3019,6 @@ void *bfd_arch_default_fill (bfd_size_type count,
     bfd_boolean code);
 
 /* Extracted from elf.c.  */
+#ifdef __cplusplus
+}
+#endif
This page took 0.037631 seconds and 4 git commands to generate.