* 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>
* arlex.l: Use #include "" instead of <> for local header files.

View File

@ -93,7 +93,6 @@ map_over_list (arch, function, list)
FILE *outfile;
/*ARGSUSED*/
static void
ar_directory_doer (abfd, ignore)
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. */
/*ARGSUSED*/
static struct debug_type *
debug_make_type (info, kind, size)
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
argument is the visibility of the base class. */
/*ARGSUSED*/
debug_baseclass
debug_make_baseclass (handle, type, bitpos, virtual, visibility)
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
of the field. */
/*ARGSUSED*/
debug_field
debug_make_field (handle, name, type, bitpos, bitsize, visibility)
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
member. */
/*ARGSUSED*/
debug_field
debug_make_static_member (handle, name, type, physname, visibility)
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
argument is a NULL terminated array of method variants. */
/*ARGSUSED*/
debug_method
debug_make_method (handle, name, variants)
PTR handle ATTRIBUTE_UNUSED;
@ -1890,7 +1885,6 @@ debug_make_method (handle, name, variants)
function context. FIXME: Are the const and volatile arguments
necessary? Could we just use debug_make_const_type? */
/*ARGSUSED*/
debug_method_variant
debug_make_method_variant (handle, physname, type, visibility, constp,
volatilep, voffset, context)
@ -2055,7 +2049,6 @@ debug_tag_type (handle, name, type)
/* Record the size of a given type. */
/*ARGSUSED*/
boolean
debug_record_type_size (handle, type, size)
PTR handle ATTRIBUTE_UNUSED;
@ -2391,7 +2384,6 @@ debug_get_fields (handle, type)
/* Get the type of a field. */
/*ARGSUSED*/
debug_type
debug_get_field_type (handle, field)
PTR handle ATTRIBUTE_UNUSED;
@ -2404,7 +2396,6 @@ debug_get_field_type (handle, field)
/* Get the name of a field. */
/*ARGSUSED*/
const char *
debug_get_field_name (handle, field)
PTR handle ATTRIBUTE_UNUSED;
@ -2417,7 +2408,6 @@ debug_get_field_name (handle, field)
/* Get the bit position of a field. */
/*ARGSUSED*/
bfd_vma
debug_get_field_bitpos (handle, field)
PTR handle ATTRIBUTE_UNUSED;
@ -2430,7 +2420,6 @@ debug_get_field_bitpos (handle, field)
/* Get the bit size of a field. */
/*ARGSUSED*/
bfd_vma
debug_get_field_bitsize (handle, field)
PTR handle ATTRIBUTE_UNUSED;
@ -2443,7 +2432,6 @@ debug_get_field_bitsize (handle, field)
/* Get the visibility of a field. */
/*ARGSUSED*/
enum debug_visibility
debug_get_field_visibility (handle, field)
PTR handle ATTRIBUTE_UNUSED;

View File

@ -4102,7 +4102,6 @@ static const struct debug_write_fns ieee_fns =
/* Initialize a buffer to be empty. */
/*ARGSUSED*/
static boolean
ieee_init_buffer (info, buflist)
struct ieee_handle *info ATTRIBUTE_UNUSED;
@ -4143,7 +4142,6 @@ ieee_change_buffer (info, buflist)
/* Append a buffer chain. */
/*ARGSUSED*/
static boolean
ieee_append_buffer (info, mainbuf, newbuf)
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
to store this information anywhere. */
/*ARGSUSED*/
static boolean
ieee_start_source (p, filename)
PTR p ATTRIBUTE_UNUSED;
@ -5737,7 +5734,6 @@ ieee_range_type (p, low, high)
/* Make an array type. */
/*ARGSUSED*/
static boolean
ieee_array_type (p, low, high, stringp)
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
the output_offset. */
/*ARGSUSED*/
static void
default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size)
@ -1585,7 +1584,6 @@ static reloc_howto_type nlm32_alpha_nw_howto =
0, /* dst_mask */
false); /* pcrel_offset */
/*ARGSUSED*/
static void
alpha_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
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
any further reloc. */
/*ARGSUSED*/
static void
powerpc_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size)

View File

@ -693,7 +693,6 @@ pr_range_type (p, lower, upper)
/* Make an array type. */
/*ARGSUSED*/
static boolean
pr_array_type (p, lower, upper, stringp)
PTR p;
@ -747,7 +746,6 @@ pr_array_type (p, lower, upper, stringp)
/* Make a set type. */
/*ARGSUSED*/
static boolean
pr_set_type (p, bitstringp)
PTR p;
@ -1598,7 +1596,6 @@ pr_typdef (p, name)
/* 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. */
/*ARGSUSED*/
static boolean
pr_tag (p, name)
PTR p;
@ -1853,7 +1850,6 @@ pr_end_block (p, addr)
/* Finish writing out a function. */
/*ARGSUSED*/
static boolean
pr_end_function (p)
PTR p ATTRIBUTE_UNUSED;

View File

@ -366,7 +366,6 @@ warn_stab (p, err)
/* Create a handle to parse stabs symbols with. */
/*ARGSUSED*/
PTR
start_stab (dhandle, abfd, sections, syms, symcount)
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
stab_tag. */
/*ARGSUSED*/
static boolean
stab_start_struct_type (p, tag, id, structp, size)
PTR p;
@ -2379,7 +2378,6 @@ stab_end_block (p, addr)
/* End a function. */
/*ARGSUSED*/
static boolean
stab_end_function (p)
PTR p ATTRIBUTE_UNUSED;