X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Flibbfd.h;h=bd56afbefb9981bc9b023fea07d1397b7686179d;hb=55172d69d08941ecb3bb1abd640f22abca10de47;hp=a1c0a01cc710d1a9d4727f3ff1a8e95652c190b1;hpb=3f8107ab38095bb3db840f9f14a0fd339f55e06e;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/libbfd.h b/bfd/libbfd.h index a1c0a01cc7..bd56afbefb 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -29,6 +29,10 @@ #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