This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Trivial fix for warning in utils.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: guerby at acm dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Nov 01 15:06:03 EST
- Subject: Re: [Ada] Trivial fix for warning in utils.c
Not true, I checked to see wether void was already used and found:
void
end_subprog_body (void)
That's an error.
Looking in other ada/*.c files both style are used (PARAMS((void)) vs
(void)). It would be trivial to move to one or another. Richard,
should I test and submit a patch moving to one of those style (and
which one)?
They should all be the K&R way. Consider such a patch preapproved.
BTW, do the ada/*.c file use C features not supported by your average
K&R compiler? (Giving a false sense of K&R'ness makes no good IMHO.)
They are not supposed to.