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

Pedro Alves
2011-03-14T12:13:56Z

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."

--
Pedro Alves