diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-11-30 08:39:46 +0000 |
commit | 21bd0c8d7a860a284f4f85a72fc26721ec87aedd (patch) | |
tree | 9a0470dbae9d01002a20b39e95a68f81bb4eaaa8 /opcodes/mmix-dis.c | |
parent | fdb71d9a52a1eaa32d8b51672f63abe50896d4a0 (diff) | |
download | binutils-redhat-21bd0c8d7a860a284f4f85a72fc26721ec87aedd.tar.gz |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'opcodes/mmix-dis.c')
-rw-r--r-- | opcodes/mmix-dis.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/opcodes/mmix-dis.c b/opcodes/mmix-dis.c index c81e679f4e..f28e528437 100644 --- a/opcodes/mmix-dis.c +++ b/opcodes/mmix-dis.c @@ -1,5 +1,5 @@ /* mmix-dis.c -- Disassemble MMIX instructions. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. Written by Hans-Peter Nilsson (hp@bitrange.com) This file is part of GDB and the GNU binutils. @@ -66,13 +66,15 @@ struct mmix_dis_info char basic_reg_name[256][sizeof ("$255")]; }; -static boolean initialize_mmix_dis_info PARAMS ((struct disassemble_info *)); -static const struct mmix_opcode *get_opcode PARAMS ((unsigned long)); +static bfd_boolean initialize_mmix_dis_info + PARAMS ((struct disassemble_info *)); +static const struct mmix_opcode *get_opcode + PARAMS ((unsigned long)); /* Initialize a target-specific array in INFO. */ -static boolean +static bfd_boolean initialize_mmix_dis_info (info) struct disassemble_info *info; { @@ -80,7 +82,7 @@ initialize_mmix_dis_info (info) int i; if (minfop == NULL) - return false; + return FALSE; memset (minfop, 0, sizeof (*minfop)); @@ -107,7 +109,7 @@ initialize_mmix_dis_info (info) if (syms == NULL) { FATAL_DEBUG; free (minfop); - return false; + return FALSE; } nsyms = bfd_canonicalize_symtab (abfd, syms); @@ -137,7 +139,7 @@ initialize_mmix_dis_info (info) minfop->spec_reg_name[mmix_spec_regs[i].number] = mmix_spec_regs[i].name; info->private_data = (PTR) minfop; - return true; + return TRUE; } /* A table indexed by the first byte is constructed as we disassemble each |