mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
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.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
|
||||
int verbose = 0;
|
||||
|
||||
bfd_boolean target_is_bigendian = 0;
|
||||
bool target_is_bigendian = 0;
|
||||
const char *def_target_arch;
|
||||
|
||||
static void set_endianness (bfd *, const char *);
|
||||
@@ -713,12 +713,12 @@ quot (const char *string)
|
||||
#if defined (_WIN32) && !defined (__CYGWIN__)
|
||||
/* For Windows shells, quote "like this". */
|
||||
{
|
||||
bfd_boolean quoted = FALSE;
|
||||
bool quoted = false;
|
||||
|
||||
dest = buf;
|
||||
if (strchr (string, ' '))
|
||||
{
|
||||
quoted = TRUE;
|
||||
quoted = true;
|
||||
*dest++ = '"';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user