aboutsummaryrefslogtreecommitdiff
path: root/binutils/binemul.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
commitb34976b65aea8f33690229600bbf4527ec3118e1 (patch)
tree6411348664ef81ca2aa2e3ff325116e6e6502edf /binutils/binemul.h
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
downloadgdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip
gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz
gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'binutils/binemul.h')
-rw-r--r--binutils/binemul.h42
1 files changed, 26 insertions, 16 deletions
diff --git a/binutils/binemul.h b/binutils/binemul.h
index bbcb16e..f8afae5 100644
--- a/binutils/binemul.h
+++ b/binutils/binemul.h
@@ -1,5 +1,5 @@
/* Binutils emulation layer.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright 2002 Free Software Foundation, Inc.
Written by Tom Rix, Redhat.
This file is part of GNU Binutils.
@@ -24,16 +24,26 @@
#include "bfd.h"
#include "bucomm.h"
-extern void ar_emul_usage PARAMS ((FILE *));
-extern void ar_emul_default_usage PARAMS ((FILE *));
-extern boolean ar_emul_append PARAMS ((bfd **, char *, boolean));
-extern boolean ar_emul_default_append PARAMS ((bfd **, char *, boolean));
-extern boolean ar_emul_replace PARAMS ((bfd **, char *, boolean));
-extern boolean ar_emul_default_replace PARAMS ((bfd **, char *, boolean));
-extern boolean ar_emul_create PARAMS ((bfd **, char *, char *));
-extern boolean ar_emul_default_create PARAMS ((bfd **, char *, char *));
-extern boolean ar_emul_parse_arg PARAMS ((char *));
-extern boolean ar_emul_default_parse_arg PARAMS ((char *));
+extern void ar_emul_usage
+ PARAMS ((FILE *));
+extern void ar_emul_default_usage
+ PARAMS ((FILE *));
+extern bfd_boolean ar_emul_append
+ PARAMS ((bfd **, char *, bfd_boolean));
+extern bfd_boolean ar_emul_default_append
+ PARAMS ((bfd **, char *, bfd_boolean));
+extern bfd_boolean ar_emul_replace
+ PARAMS ((bfd **, char *, bfd_boolean));
+extern bfd_boolean ar_emul_default_replace
+ PARAMS ((bfd **, char *, bfd_boolean));
+extern bfd_boolean ar_emul_create
+ PARAMS ((bfd **, char *, char *));
+extern bfd_boolean ar_emul_default_create
+ PARAMS ((bfd **, char *, char *));
+extern bfd_boolean ar_emul_parse_arg
+ PARAMS ((char *));
+extern bfd_boolean ar_emul_default_parse_arg
+ PARAMS ((char *));
/* Macros for common output. */
@@ -53,11 +63,11 @@ extern boolean ar_emul_default_parse_arg PARAMS ((char *));
typedef struct bin_emulation_xfer_struct
{
/* Print out the extra options. */
- void (* ar_usage) PARAMS ((FILE *fp));
- boolean (* ar_append) PARAMS ((bfd **, char *, boolean));
- boolean (* ar_replace) PARAMS ((bfd **, char *, boolean));
- boolean (* ar_create) PARAMS ((bfd **, char *, char *));
- boolean (* ar_parse_arg) PARAMS ((char *));
+ void (* ar_usage) PARAMS ((FILE *fp));
+ bfd_boolean (* ar_append) PARAMS ((bfd **, char *, bfd_boolean));
+ bfd_boolean (* ar_replace) PARAMS ((bfd **, char *, bfd_boolean));
+ bfd_boolean (* ar_create) PARAMS ((bfd **, char *, char *));
+ bfd_boolean (* ar_parse_arg) PARAMS ((char *));
}
bin_emulation_xfer_type;