diff options
author | Alan Modra <amodra@gmail.com> | 2018-05-18 08:30:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-05-18 13:07:21 +0930 |
commit | 0b4395434942ecc6f3006004784d19d9a4fbbf55 (patch) | |
tree | 37241d82eff5894e27ce76b46e43c5684df0cc58 /bfd/doc | |
parent | 29e0f0a144fcabb6fa088c58b49e5924d7c43967 (diff) | |
download | gdb-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/doc')
-rw-r--r-- | bfd/doc/Makefile.am | 2 | ||||
-rw-r--r-- | bfd/doc/Makefile.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 4657e37..8e9d831 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -277,6 +277,7 @@ libbfd.h: $(LIBBFD_H_DEP) echo "#ifdef __cplusplus" >> $@ echo "}" >> $@ echo "#endif" >> $@ + echo "#endif" >> $@ LIBCOFF_H_DEP = \ $(srcdir)/../libcoff-in.h \ @@ -299,6 +300,7 @@ libcoff.h: $(LIBCOFF_H_DEP) echo "#ifdef __cplusplus" >> $@ echo "}" >> $@ echo "#endif" >> $@ + echo "#endif" >> $@ BFD_H_DEP = \ $(srcdir)/../bfd-in.h \ diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index a80dc75..6ce67ce 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -1013,6 +1013,7 @@ libbfd.h: $(LIBBFD_H_DEP) echo "#ifdef __cplusplus" >> $@ echo "}" >> $@ echo "#endif" >> $@ + echo "#endif" >> $@ libcoff.h: $(LIBCOFF_H_DEP) echo "$(LIBCOFF_H_DEP)" | sed -f $(srcdir)/header.sed > $@ @@ -1028,6 +1029,7 @@ libcoff.h: $(LIBCOFF_H_DEP) echo "#ifdef __cplusplus" >> $@ echo "}" >> $@ echo "#endif" >> $@ + echo "#endif" >> $@ bfd.h: $(BFD_H_DEP) echo "$(BFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@ |