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:
> 
> /home/vasek/dev/grass/trunk/lib/raster3d/volume.c

Fixed in r55463.

> /home/vasek/dev/grass/trunk/lib/external/shapelib/dbfopen.c
> /home/vasek/dev/grass/trunk/lib/external/shapelib/shpopen.c

I can't see any K&R style declarations in these files. It's possible
that the SHPAPI_CALL macro is confusing Doxygen.

> /home/vasek/dev/grass/trunk/lib/db/sqlp/sqlp.tab.c

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 <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to