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.
This commit is contained in:
parent
29e0f0a144
commit
0b43954349
|
@ -1,3 +1,12 @@
|
|||
2018-05-18 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2018-05-16 Maciej W. Rozycki <macro@mips.com>
|
||||
|
||||
* elf32-nds32.c (nds32_convert_32_to_16): Preset `insn_type'.
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 > $@
|
||||
|
|
|
@ -22,6 +22,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef _LIBCOFF_H
|
||||
#define _LIBCOFF_H 1
|
||||
|
||||
#include "bfdlink.h"
|
||||
#include "coff-bfd.h"
|
||||
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef _LIBCOFF_H
|
||||
#define _LIBCOFF_H 1
|
||||
|
||||
#include "bfdlink.h"
|
||||
#include "coff-bfd.h"
|
||||
|
||||
|
@ -973,3 +976,4 @@ typedef struct
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue