aboutsummaryrefslogtreecommitdiff
path: root/binutils/binemul.c
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.c
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.c')
-rw-r--r--binutils/binemul.c47
1 files changed, 14 insertions, 33 deletions
diff --git a/binutils/binemul.c b/binutils/binemul.c
index 67aaba8..3f6ed65 100644
--- a/binutils/binemul.c
+++ b/binutils/binemul.c
@@ -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.
@@ -23,16 +23,14 @@
extern bin_emulation_xfer_type bin_dummy_emulation;
void
-ar_emul_usage (fp)
- FILE *fp;
+ar_emul_usage (FILE *fp)
{
if (bin_dummy_emulation.ar_usage)
bin_dummy_emulation.ar_usage (fp);
}
void
-ar_emul_default_usage (fp)
- FILE *fp;
+ar_emul_default_usage (FILE *fp)
{
AR_EMUL_USAGE_PRINT_OPTION_HEADER (fp);
/* xgettext:c-format */
@@ -40,10 +38,7 @@ ar_emul_default_usage (fp)
}
bfd_boolean
-ar_emul_append (after_bfd, file_name, verbose)
- bfd **after_bfd;
- char *file_name;
- bfd_boolean verbose;
+ar_emul_append (bfd **after_bfd, char *file_name, bfd_boolean verbose)
{
if (bin_dummy_emulation.ar_append)
return bin_dummy_emulation.ar_append (after_bfd, file_name, verbose);
@@ -52,10 +47,8 @@ ar_emul_append (after_bfd, file_name, verbose)
}
bfd_boolean
-ar_emul_default_append (after_bfd, file_name, verbose)
- bfd **after_bfd;
- char *file_name;
- bfd_boolean verbose;
+ar_emul_default_append (bfd **after_bfd, char *file_name,
+ bfd_boolean verbose)
{
bfd *temp;
@@ -71,10 +64,7 @@ ar_emul_default_append (after_bfd, file_name, verbose)
}
bfd_boolean
-ar_emul_replace (after_bfd, file_name, verbose)
- bfd **after_bfd;
- char *file_name;
- bfd_boolean verbose;
+ar_emul_replace (bfd **after_bfd, char *file_name, bfd_boolean verbose)
{
if (bin_dummy_emulation.ar_replace)
return bin_dummy_emulation.ar_replace (after_bfd, file_name, verbose);
@@ -83,10 +73,8 @@ ar_emul_replace (after_bfd, file_name, verbose)
}
bfd_boolean
-ar_emul_default_replace (after_bfd, file_name, verbose)
- bfd **after_bfd;
- char *file_name;
- bfd_boolean verbose;
+ar_emul_default_replace (bfd **after_bfd, char *file_name,
+ bfd_boolean verbose)
{
bfd *temp;
@@ -102,10 +90,7 @@ ar_emul_default_replace (after_bfd, file_name, verbose)
}
bfd_boolean
-ar_emul_create (abfd_out, archive_file_name, file_name)
- bfd **abfd_out;
- char *archive_file_name;
- char *file_name;
+ar_emul_create (bfd **abfd_out, char *archive_file_name, char *file_name)
{
if (bin_dummy_emulation.ar_create)
return bin_dummy_emulation.ar_create (abfd_out, archive_file_name,
@@ -115,10 +100,8 @@ ar_emul_create (abfd_out, archive_file_name, file_name)
}
bfd_boolean
-ar_emul_default_create (abfd_out, archive_file_name, file_name)
- bfd **abfd_out;
- char *archive_file_name;
- char *file_name;
+ar_emul_default_create (bfd **abfd_out, char *archive_file_name,
+ char *file_name)
{
char *target = NULL;
@@ -148,8 +131,7 @@ ar_emul_default_create (abfd_out, archive_file_name, file_name)
}
bfd_boolean
-ar_emul_parse_arg (arg)
- char *arg;
+ar_emul_parse_arg (char *arg)
{
if (bin_dummy_emulation.ar_parse_arg)
return bin_dummy_emulation.ar_parse_arg (arg);
@@ -158,8 +140,7 @@ ar_emul_parse_arg (arg)
}
bfd_boolean
-ar_emul_default_parse_arg (arg)
- char *arg ATTRIBUTE_UNUSED;
+ar_emul_default_parse_arg (char *arg ATTRIBUTE_UNUSED)
{
return FALSE;
}