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]: Convert macro_set_alternate() to ISO C90.


Hi Guys,

  I am applying the small patch below to fix a minor formatting issue
  with the recent alternate macro patch.  The macro_set_alternate()
  function was using a K&R style function declaration.

Cheers
  Nick

2004-08-16  Nick Clifton  <nickc@redhat.com>

	* macro.c (macro_set_alternate): Use ISO C90 formatting.

Index: macro.c
===================================================================
RCS file: /cvs/src/src/gas/macro.c,v
retrieving revision 1.24
diff -c -3 -p -r1.24 macro.c
*** macro.c	13 Aug 2004 19:53:51 -0000	1.24
--- macro.c	16 Aug 2004 08:31:52 -0000
*************** macro_init (int alternate, int mri, int 
*** 135,142 ****
  /* Switch in and out of alternate mode on the fly.  */
  
  void
! macro_set_alternate(alternate)
!      int alternate;
  {
    macro_alternate = alternate;
  }
--- 135,141 ----
  /* Switch in and out of alternate mode on the fly.  */
  
  void
! macro_set_alternate (int alternate)
  {
    macro_alternate = alternate;
  }
  


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