Re: C PATCH to tidy implicit_decl_warning

2017-03-10 Thread Joseph Myers
On Mon, 6 Mar 2017, Marek Polacek wrote: > I didn't like that the function implicit_decl_warning is > a) missing a comment, > b) missing braces in an if were confusing, > b) wrongly formatted, >else > if () >is ugly. > > This patches fixes the above. > > Bootstrapped/regtested on

C PATCH to tidy implicit_decl_warning

2017-03-06 Thread Marek Polacek
I didn't like that the function implicit_decl_warning is a) missing a comment, b) missing braces in an if were confusing, b) wrongly formatted, else if () is ugly. This patches fixes the above. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2017-03-06 Marek Polacek