* arsup.c: Remove ARGSUSED.

* debug.c: Likewise.
	* ieee.c: Likewise.
	* nlmconv.c: Likewise.
	* prdbg.c: Likewise.
	* stabs.c: Likewise.
	* wrstabs.c: Likewise.
This commit is contained in:
Kazu Hirata 2002-05-26 14:55:04 +00:00
parent af13767302
commit d43efbe328
8 changed files with 10 additions and 27 deletions

View File

@ -1,3 +1,13 @@
2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
* arsup.c: Remove ARGSUSED.
* debug.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* wrstabs.c: Likewise.
2002-05-25 Alan Modra <amodra@bigpond.net.au> 2002-05-25 Alan Modra <amodra@bigpond.net.au>
* arlex.l: Use #include "" instead of <> for local header files. * arlex.l: Use #include "" instead of <> for local header files.

View File

@ -93,7 +93,6 @@ map_over_list (arch, function, list)
FILE *outfile; FILE *outfile;
/*ARGSUSED*/
static void static void
ar_directory_doer (abfd, ignore) ar_directory_doer (abfd, ignore)
bfd *abfd; bfd *abfd;

View File

@ -1216,7 +1216,6 @@ debug_record_variable (handle, name, type, kind, val)
/* Make a type with a given kind and size. */ /* Make a type with a given kind and size. */
/*ARGSUSED*/
static struct debug_type * static struct debug_type *
debug_make_type (info, kind, size) debug_make_type (info, kind, size)
struct debug_handle *info ATTRIBUTE_UNUSED; struct debug_handle *info ATTRIBUTE_UNUSED;
@ -1778,7 +1777,6 @@ debug_make_undefined_tagged_type (handle, name, kind)
The fourth argument is whether this is a virtual class. The fifth The fourth argument is whether this is a virtual class. The fifth
argument is the visibility of the base class. */ argument is the visibility of the base class. */
/*ARGSUSED*/
debug_baseclass debug_baseclass
debug_make_baseclass (handle, type, bitpos, virtual, visibility) debug_make_baseclass (handle, type, bitpos, virtual, visibility)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -1806,7 +1804,6 @@ debug_make_baseclass (handle, type, bitpos, virtual, visibility)
the field (it may be zero). The sixth argument is the visibility the field (it may be zero). The sixth argument is the visibility
of the field. */ of the field. */
/*ARGSUSED*/
debug_field debug_field
debug_make_field (handle, name, type, bitpos, bitsize, visibility) debug_make_field (handle, name, type, bitpos, bitsize, visibility)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -1837,7 +1834,6 @@ debug_make_field (handle, name, type, bitpos, bitsize, visibility)
global variable). The fifth argument is the visibility of the global variable). The fifth argument is the visibility of the
member. */ member. */
/*ARGSUSED*/
debug_field debug_field
debug_make_static_member (handle, name, type, physname, visibility) debug_make_static_member (handle, name, type, physname, visibility)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -1863,7 +1859,6 @@ debug_make_static_member (handle, name, type, physname, visibility)
/* Make a method. The second argument is the name, and the third /* Make a method. The second argument is the name, and the third
argument is a NULL terminated array of method variants. */ argument is a NULL terminated array of method variants. */
/*ARGSUSED*/
debug_method debug_method
debug_make_method (handle, name, variants) debug_make_method (handle, name, variants)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -1890,7 +1885,6 @@ debug_make_method (handle, name, variants)
function context. FIXME: Are the const and volatile arguments function context. FIXME: Are the const and volatile arguments
necessary? Could we just use debug_make_const_type? */ necessary? Could we just use debug_make_const_type? */
/*ARGSUSED*/
debug_method_variant debug_method_variant
debug_make_method_variant (handle, physname, type, visibility, constp, debug_make_method_variant (handle, physname, type, visibility, constp,
volatilep, voffset, context) volatilep, voffset, context)
@ -2055,7 +2049,6 @@ debug_tag_type (handle, name, type)
/* Record the size of a given type. */ /* Record the size of a given type. */
/*ARGSUSED*/
boolean boolean
debug_record_type_size (handle, type, size) debug_record_type_size (handle, type, size)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -2391,7 +2384,6 @@ debug_get_fields (handle, type)
/* Get the type of a field. */ /* Get the type of a field. */
/*ARGSUSED*/
debug_type debug_type
debug_get_field_type (handle, field) debug_get_field_type (handle, field)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -2404,7 +2396,6 @@ debug_get_field_type (handle, field)
/* Get the name of a field. */ /* Get the name of a field. */
/*ARGSUSED*/
const char * const char *
debug_get_field_name (handle, field) debug_get_field_name (handle, field)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -2417,7 +2408,6 @@ debug_get_field_name (handle, field)
/* Get the bit position of a field. */ /* Get the bit position of a field. */
/*ARGSUSED*/
bfd_vma bfd_vma
debug_get_field_bitpos (handle, field) debug_get_field_bitpos (handle, field)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -2430,7 +2420,6 @@ debug_get_field_bitpos (handle, field)
/* Get the bit size of a field. */ /* Get the bit size of a field. */
/*ARGSUSED*/
bfd_vma bfd_vma
debug_get_field_bitsize (handle, field) debug_get_field_bitsize (handle, field)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;
@ -2443,7 +2432,6 @@ debug_get_field_bitsize (handle, field)
/* Get the visibility of a field. */ /* Get the visibility of a field. */
/*ARGSUSED*/
enum debug_visibility enum debug_visibility
debug_get_field_visibility (handle, field) debug_get_field_visibility (handle, field)
PTR handle ATTRIBUTE_UNUSED; PTR handle ATTRIBUTE_UNUSED;

View File

@ -4102,7 +4102,6 @@ static const struct debug_write_fns ieee_fns =
/* Initialize a buffer to be empty. */ /* Initialize a buffer to be empty. */
/*ARGSUSED*/
static boolean static boolean
ieee_init_buffer (info, buflist) ieee_init_buffer (info, buflist)
struct ieee_handle *info ATTRIBUTE_UNUSED; struct ieee_handle *info ATTRIBUTE_UNUSED;
@ -4143,7 +4142,6 @@ ieee_change_buffer (info, buflist)
/* Append a buffer chain. */ /* Append a buffer chain. */
/*ARGSUSED*/
static boolean static boolean
ieee_append_buffer (info, mainbuf, newbuf) ieee_append_buffer (info, mainbuf, newbuf)
struct ieee_handle *info ATTRIBUTE_UNUSED; struct ieee_handle *info ATTRIBUTE_UNUSED;
@ -5273,7 +5271,6 @@ ieee_add_bb11 (info, sec, low, high)
down the file name anyhow. IEEE debugging information doesn't seem down the file name anyhow. IEEE debugging information doesn't seem
to store this information anywhere. */ to store this information anywhere. */
/*ARGSUSED*/
static boolean static boolean
ieee_start_source (p, filename) ieee_start_source (p, filename)
PTR p ATTRIBUTE_UNUSED; PTR p ATTRIBUTE_UNUSED;
@ -5737,7 +5734,6 @@ ieee_range_type (p, low, high)
/* Make an array type. */ /* Make an array type. */
/*ARGSUSED*/
static boolean static boolean
ieee_array_type (p, low, high, stringp) ieee_array_type (p, low, high, stringp)
PTR p; PTR p;

View File

@ -1380,7 +1380,6 @@ mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
/* By default all we need to do for relocs is change the address by /* By default all we need to do for relocs is change the address by
the output_offset. */ the output_offset. */
/*ARGSUSED*/
static void static void
default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents, default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size) contents_size)
@ -1585,7 +1584,6 @@ static reloc_howto_type nlm32_alpha_nw_howto =
0, /* dst_mask */ 0, /* dst_mask */
false); /* pcrel_offset */ false); /* pcrel_offset */
/*ARGSUSED*/
static void static void
alpha_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents, alpha_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size) contents_size)
@ -1906,7 +1904,6 @@ powerpc_resolve_stubs (inbfd, outbfd)
r2, will be set to the correct TOC value, so there is no need for r2, will be set to the correct TOC value, so there is no need for
any further reloc. */ any further reloc. */
/*ARGSUSED*/
static void static void
powerpc_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents, powerpc_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size) contents_size)

View File

@ -693,7 +693,6 @@ pr_range_type (p, lower, upper)
/* Make an array type. */ /* Make an array type. */
/*ARGSUSED*/
static boolean static boolean
pr_array_type (p, lower, upper, stringp) pr_array_type (p, lower, upper, stringp)
PTR p; PTR p;
@ -747,7 +746,6 @@ pr_array_type (p, lower, upper, stringp)
/* Make a set type. */ /* Make a set type. */
/*ARGSUSED*/
static boolean static boolean
pr_set_type (p, bitstringp) pr_set_type (p, bitstringp)
PTR p; PTR p;
@ -1598,7 +1596,6 @@ pr_typdef (p, name)
/* Output a tag. The tag should already be in the string on the /* Output a tag. The tag should already be in the string on the
stack, so all we have to do here is print it out. */ stack, so all we have to do here is print it out. */
/*ARGSUSED*/
static boolean static boolean
pr_tag (p, name) pr_tag (p, name)
PTR p; PTR p;
@ -1853,7 +1850,6 @@ pr_end_block (p, addr)
/* Finish writing out a function. */ /* Finish writing out a function. */
/*ARGSUSED*/
static boolean static boolean
pr_end_function (p) pr_end_function (p)
PTR p ATTRIBUTE_UNUSED; PTR p ATTRIBUTE_UNUSED;

View File

@ -366,7 +366,6 @@ warn_stab (p, err)
/* Create a handle to parse stabs symbols with. */ /* Create a handle to parse stabs symbols with. */
/*ARGSUSED*/
PTR PTR
start_stab (dhandle, abfd, sections, syms, symcount) start_stab (dhandle, abfd, sections, syms, symcount)
PTR dhandle ATTRIBUTE_UNUSED; PTR dhandle ATTRIBUTE_UNUSED;

View File

@ -1368,7 +1368,6 @@ stab_get_struct_index (info, tag, id, kind, psize)
/* Start outputting a struct. We ignore the tag, and handle it in /* Start outputting a struct. We ignore the tag, and handle it in
stab_tag. */ stab_tag. */
/*ARGSUSED*/
static boolean static boolean
stab_start_struct_type (p, tag, id, structp, size) stab_start_struct_type (p, tag, id, structp, size)
PTR p; PTR p;
@ -2379,7 +2378,6 @@ stab_end_block (p, addr)
/* End a function. */ /* End a function. */
/*ARGSUSED*/
static boolean static boolean
stab_end_function (p) stab_end_function (p)
PTR p ATTRIBUTE_UNUSED; PTR p ATTRIBUTE_UNUSED;