diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:39:37 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 015dc7e1f8a971692a910e6cfc64faf9216e75c3 (patch) | |
tree | 53f0eb6489d86f4a6b734115c79c4e131af5416c /binutils/elfedit.c | |
parent | 78933a4ad9ae9c2e274d41e6b3036ea582c47810 (diff) | |
download | binutils-015dc7e1f8a971692a910e6cfc64faf9216e75c3.zip binutils-015dc7e1f8a971692a910e6cfc64faf9216e75c3.tar.gz binutils-015dc7e1f8a971692a910e6cfc64faf9216e75c3.tar.bz2 |
Use bool in binutils
* sysdep.h (POISON_BFD_BOOLEAN): Define.
* addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
* binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
* debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
* elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
* objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
* readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
* windmc.c, * windmc.h, * windres.c, * winduni.c,
* wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
and TRUE with true throughout.
Diffstat (limited to 'binutils/elfedit.c')
-rw-r--r-- | binutils/elfedit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/elfedit.c b/binutils/elfedit.c index 07d288c..ddcace9 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -540,7 +540,7 @@ process_object (const char *file_name, FILE *file) static int process_archive (const char * file_name, FILE * file, - bfd_boolean is_thin_archive) + bool is_thin_archive) { struct archive_info arch; struct archive_info nested_arch; @@ -566,7 +566,7 @@ process_archive (const char * file_name, FILE * file, if (fstat (fileno (file), &statbuf) < 0 || setup_archive (&arch, file_name, file, statbuf.st_size, - is_thin_archive, FALSE) != 0) + is_thin_archive, false) != 0) { ret = 1; goto out; @@ -770,9 +770,9 @@ process_file (const char *file_name) } if (memcmp (armag, ARMAG, SARMAG) == 0) - ret = process_archive (file_name, file, FALSE); + ret = process_archive (file_name, file, false); else if (memcmp (armag, ARMAGT, SARMAG) == 0) - ret = process_archive (file_name, file, TRUE); + ret = process_archive (file_name, file, true); else { rewind (file); |