This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] binutils/*.c: Remove ARGSUSED.


Hi,

Attached is a patch to remove ARGSUSED.  OK to apply?

Thanks,

Kazu Hirata

2002-05-23  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.

Index: arsup.c
===================================================================
RCS file: /cvs/src/src/binutils/arsup.c,v
retrieving revision 1.6
diff -u -r1.6 arsup.c
--- arsup.c	19 May 2002 16:17:54 -0000	1.6
+++ arsup.c	24 May 2002 00:43:26 -0000
@@ -93,7 +93,6 @@
 
 FILE *outfile;
 
-/*ARGSUSED*/
 static void
 ar_directory_doer (abfd, ignore)
      bfd *abfd;
Index: debug.c
===================================================================
RCS file: /cvs/src/src/binutils/debug.c,v
retrieving revision 1.5
diff -u -r1.5 debug.c
--- debug.c	20 May 2002 18:23:05 -0000	1.5
+++ debug.c	24 May 2002 00:43:31 -0000
@@ -1216,7 +1216,6 @@
 
 /* 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 @@
    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 @@
    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 @@
    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 @@
 /* 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 @@
    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 @@
 
 /* Record the size of a given type.  */
 
-/*ARGSUSED*/
 boolean
 debug_record_type_size (handle, type, size)
      PTR handle ATTRIBUTE_UNUSED;
@@ -2391,7 +2384,6 @@
 
 /* Get the type of a field.  */
 
-/*ARGSUSED*/
 debug_type
 debug_get_field_type (handle, field)
      PTR handle ATTRIBUTE_UNUSED;
@@ -2404,7 +2396,6 @@
 
 /* Get the name of a field.  */
 
-/*ARGSUSED*/
 const char *
 debug_get_field_name (handle, field)
      PTR handle ATTRIBUTE_UNUSED;
@@ -2417,7 +2408,6 @@
 
 /* Get the bit position of a field.  */
 
-/*ARGSUSED*/
 bfd_vma
 debug_get_field_bitpos (handle, field)
      PTR handle ATTRIBUTE_UNUSED;
@@ -2430,7 +2420,6 @@
 
 /* Get the bit size of a field.  */
 
-/*ARGSUSED*/
 bfd_vma
 debug_get_field_bitsize (handle, field)
      PTR handle ATTRIBUTE_UNUSED;
@@ -2443,7 +2432,6 @@
 
 /* Get the visibility of a field.  */
 
-/*ARGSUSED*/
 enum debug_visibility
 debug_get_field_visibility (handle, field)
      PTR handle ATTRIBUTE_UNUSED;
Index: ieee.c
===================================================================
RCS file: /cvs/src/src/binutils/ieee.c,v
retrieving revision 1.9
diff -u -r1.9 ieee.c
--- ieee.c	21 May 2002 19:34:57 -0000	1.9
+++ ieee.c	24 May 2002 00:43:41 -0000
@@ -4102,7 +4102,6 @@
 
 /* Initialize a buffer to be empty.  */
 
-/*ARGSUSED*/
 static boolean
 ieee_init_buffer (info, buflist)
      struct ieee_handle *info ATTRIBUTE_UNUSED;
@@ -4143,7 +4142,6 @@
 
 /* Append a buffer chain.  */
 
-/*ARGSUSED*/
 static boolean
 ieee_append_buffer (info, mainbuf, newbuf)
      struct ieee_handle *info ATTRIBUTE_UNUSED;
@@ -5273,7 +5271,6 @@
    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 @@
 
 /* Make an array type.  */
 
-/*ARGSUSED*/
 static boolean
 ieee_array_type (p, low, high, stringp)
      PTR p;
Index: nlmconv.c
===================================================================
RCS file: /cvs/src/src/binutils/nlmconv.c,v
retrieving revision 1.12
diff -u -r1.12 nlmconv.c
--- nlmconv.c	21 May 2002 19:34:58 -0000	1.12
+++ nlmconv.c	24 May 2002 00:43:43 -0000
@@ -1380,7 +1380,6 @@
 /* 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 @@
 	 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 @@
    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)
Index: prdbg.c
===================================================================
RCS file: /cvs/src/src/binutils/prdbg.c,v
retrieving revision 1.3
diff -u -r1.3 prdbg.c
--- prdbg.c	13 Mar 2001 06:43:57 -0000	1.3
+++ prdbg.c	24 May 2002 00:43:49 -0000
@@ -693,7 +693,6 @@
 
 /* Make an array type.  */
 
-/*ARGSUSED*/
 static boolean
 pr_array_type (p, lower, upper, stringp)
      PTR p;
@@ -747,7 +746,6 @@
 
 /* Make a set type.  */
 
-/*ARGSUSED*/
 static boolean
 pr_set_type (p, bitstringp)
      PTR p;
@@ -1598,7 +1596,6 @@
 /* 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 @@
 
 /* Finish writing out a function.  */
 
-/*ARGSUSED*/
 static boolean
 pr_end_function (p)
      PTR p ATTRIBUTE_UNUSED;
Index: stabs.c
===================================================================
RCS file: /cvs/src/src/binutils/stabs.c,v
retrieving revision 1.10
diff -u -r1.10 stabs.c
--- stabs.c	24 May 2002 00:33:36 -0000	1.10
+++ stabs.c	24 May 2002 00:44:06 -0000
@@ -366,7 +366,6 @@
 
 /* Create a handle to parse stabs symbols with.  */
 
-/*ARGSUSED*/
 PTR
 start_stab (dhandle, abfd, sections, syms, symcount)
      PTR dhandle ATTRIBUTE_UNUSED;
Index: wrstabs.c
===================================================================
RCS file: /cvs/src/src/binutils/wrstabs.c,v
retrieving revision 1.6
diff -u -r1.6 wrstabs.c
--- wrstabs.c	24 May 2002 00:33:36 -0000	1.6
+++ wrstabs.c	24 May 2002 00:44:08 -0000
@@ -1368,7 +1368,6 @@
 /* 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 @@
 
 /* End a function.  */
 
-/*ARGSUSED*/
 static boolean
 stab_end_function (p)
      PTR p ATTRIBUTE_UNUSED;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]