Ingo Schwarze wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]        2016/07/15 12:02:32
> 
> Modified files:
>       usr.bin/mandoc : main.c man_hash.c mandocdb.c mdoc_argv.c 
>                        mdoc_hash.c 
> 
> Log message:
> add missing prototypes, no code change;
> noticed by Christos Zoulas with -Wmissing-prototypes

Some of these changes are definitely bogus.

+int                      mandocdb(int, char *[]);

There's already a prototype only 10 lines later...

int                       mandocdb(int, char**);

mandoc is already compiled with -Werror-implicit-function-declaration in our
tree. There should not be any more prototypes needed.

Reply via email to