aboutsummaryrefslogtreecommitdiff
path: root/binutils/binemul.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-09-14 12:20:17 +0000
committerAndreas Jaeger <aj@suse.de>2003-09-14 12:20:17 +0000
commit2da42df615c0489291f8d3e1ce873642755a49c6 (patch)
tree2294d219a7e8025d03f45821f383cf3692f249ed /binutils/binemul.h
parent4a4b3fedfec42967926860950ee4fae2f01af98e (diff)
downloadgdb-2da42df615c0489291f8d3e1ce873642755a49c6.zip
gdb-2da42df615c0489291f8d3e1ce873642755a49c6.tar.gz
gdb-2da42df615c0489291f8d3e1ce873642755a49c6.tar.bz2
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
Diffstat (limited to 'binutils/binemul.h')
-rw-r--r--binutils/binemul.h42
1 files changed, 16 insertions, 26 deletions
diff --git a/binutils/binemul.h b/binutils/binemul.h
index f8afae5..59dc2bd 100644
--- a/binutils/binemul.h
+++ b/binutils/binemul.h
@@ -1,5 +1,5 @@
/* Binutils emulation layer.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
Written by Tom Rix, Redhat.
This file is part of GNU Binutils.
@@ -24,26 +24,16 @@
#include "bfd.h"
#include "bucomm.h"
-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 *));
+extern void ar_emul_usage (FILE *);
+extern void ar_emul_default_usage (FILE *);
+extern bfd_boolean ar_emul_append (bfd **, char *, bfd_boolean);
+extern bfd_boolean ar_emul_default_append (bfd **, char *, bfd_boolean);
+extern bfd_boolean ar_emul_replace (bfd **, char *, bfd_boolean);
+extern bfd_boolean ar_emul_default_replace (bfd **, char *, bfd_boolean);
+extern bfd_boolean ar_emul_create (bfd **, char *, char *);
+extern bfd_boolean ar_emul_default_create (bfd **, char *, char *);
+extern bfd_boolean ar_emul_parse_arg (char *);
+extern bfd_boolean ar_emul_default_parse_arg (char *);
/* Macros for common output. */
@@ -63,11 +53,11 @@ extern bfd_boolean ar_emul_default_parse_arg
typedef struct bin_emulation_xfer_struct
{
/* Print out the extra options. */
- 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 *));
+ void (* ar_usage) (FILE *fp);
+ bfd_boolean (* ar_append) (bfd **, char *, bfd_boolean);
+ bfd_boolean (* ar_replace) (bfd **, char *, bfd_boolean);
+ bfd_boolean (* ar_create) (bfd **, char *, char *);
+ bfd_boolean (* ar_parse_arg) (char *);
}
bin_emulation_xfer_type;