[GRASS-dev] K&R functions in GRASS 7

Markus Neteler neteler at osgeo.org
Tue Mar 19 15:55:01 PDT 2013

On Tue, Mar 19, 2013 at 9:31 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> Hi,
> we still have K&R style functions in C code?

Officially no. We made the migration to ANSI C in 2002 or so
(would have to look it up).

> 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
> /home/vasek/dev/grass/trunk/lib/db/sqlp/sqlp.tab.c

-> should probably be changed.

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

-> are external files from Frank Warmerdam.


More information about the grass-dev mailing list