[GRASS-dev] K&R functions in GRASS 7
glynn at gclements.plus.com
Tue Mar 19 19:07:43 PDT 2013
Vaclav Petras wrote:
> we still have K&R style functions in C code? They work the same but I
> though that they were rewritten.
> Doxygen warns about this in these files:
Fixed in r55463.
I can't see any K&R style declarations in these files. It's possible
that the SHPAPI_CALL macro is confusing Doxygen.
This isn't a source file, it's an intermediate file generated from
sqlp.y using yacc or bison.
FWIW, the file which bison generates uses ANSI C syntax if __STDC__ is
defined (which is the case for any ANSI C compiler).
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev