Re: New ARI warning Sat Mar 12 01:53:29 UTC 2011

Eli Zaretskii
2011-03-14T12:32:16Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Mon, 14 Mar 2011 12:13:43 +0000
> Cc: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
>
> On Monday 14 March 2011 11:26:40, Eli Zaretskii wrote:
> > > Would it be better to reformat those as
> > > extern TYPE long_func_name
> > > (with_long_parameters);
> > > instead of
> > > extern TYPE
> > > long_func_name (with_long_parameters);
> >
> > No, that's even uglier.
> >
>
> But it's what we do all over. We do have the rule that
> grep "^foofunc" should only match function definitions, not
> declarations. Here in gdbint.texinfo:
>
> "A function declaration should not have its name in column zero. A
> function definition should have its name in column zero."

What can I say? it's ugly.