diff options
Diffstat (limited to 'binutils/binemul.c')
-rw-r--r-- | binutils/binemul.c | 47 |
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; } |