aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-05-18 08:30:50 +0930
committerAlan Modra <amodra@gmail.com>2018-05-18 13:07:21 +0930
commit0b4395434942ecc6f3006004784d19d9a4fbbf55 (patch)
tree37241d82eff5894e27ce76b46e43c5684df0cc58 /bfd/libbfd.h
parent29e0f0a144fcabb6fa088c58b49e5924d7c43967 (diff)
downloadgdb-0b4395434942ecc6f3006004784d19d9a4fbbf55.zip
gdb-0b4395434942ecc6f3006004784d19d9a4fbbf55.tar.gz
gdb-0b4395434942ecc6f3006004784d19d9a4fbbf55.tar.bz2
libbfd.h and libcoff.h include guards
* libbfd-in.h: Add include guard. * libcoff-in.h: Likewise. * doc/Makefile.am (libbfd.h, libcoff.h): Append another #endif. * doc/Makefile.in: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 495ffb4..0fe4a94 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -27,6 +27,9 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#ifndef _LIBBFD_H
+#define _LIBBFD_H 1
+
#include "hashtab.h"
#ifdef __cplusplus
@@ -3231,3 +3234,4 @@ bfd_boolean _bfd_generic_verify_endian_match
#ifdef __cplusplus
}
#endif
+#endif