This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]: Convert macro_set_alternate() to ISO C90.
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 16 Aug 2004 09:35:25 +0100
- Subject: [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;
}