ATTRIBUTE_UNUSED additions to gas/config/obj-aout.c

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Sat May 20 07:50:00 GMT 2000


Ok to install?

Sat May 20 16:41:55 2000  Hans-Peter Nilsson  <hp@axis.com>

	* config/obj-aout.c (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED
	to args as appropriate.
	(obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.

Index: obj-aout.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-aout.c,v
retrieving revision 1.5
diff -p -c -r1.5 obj-aout.c
*** obj-aout.c	2000/01/26 22:48:31	1.5
--- obj-aout.c	2000/05/20 14:46:15
*************** const pseudo_typeS aout_pseudo_table[] =
*** 105,111 ****
  void
  obj_aout_frob_symbol (sym, punt)
       symbolS *sym;
!      int *punt;
  {
    flagword flags;
    asection *sec;
--- 107,113 ----
  void
  obj_aout_frob_symbol (sym, punt)
       symbolS *sym;
!      int *punt ATTRIBUTE_UNUSED;
  {
    flagword flags;
    asection *sec;
*************** obj_emit_symbols (where, symbol_rootP)
*** 355,361 ****
  
  static void
  obj_aout_line (ignore)
!      int ignore;
  {
    /* Assume delimiter is part of expression.
       BSD4.2 as fails with delightful bug, so we
--- 357,363 ----
  
  static void
  obj_aout_line (ignore)
!      int ignore ATTRIBUTE_UNUSED;
  {
    /* Assume delimiter is part of expression.
       BSD4.2 as fails with delightful bug, so we
*************** obj_aout_line (ignore)
*** 368,374 ****
  
  static void
  obj_aout_weak (ignore)
!      int ignore;
  {
    char *name;
    int c;
--- 370,376 ----
  
  static void
  obj_aout_weak (ignore)
!      int ignore ATTRIBUTE_UNUSED;
  {
    char *name;
    int c;
*************** obj_aout_weak (ignore)
*** 401,407 ****
  
  static void
  obj_aout_type (ignore)
!      int ignore;
  {
    char *name;
    int c;
--- 403,409 ----
  
  static void
  obj_aout_type (ignore)
!      int ignore ATTRIBUTE_UNUSED;
  {
    char *name;
    int c;

brgds, H-P


More information about the Binutils mailing list