[GRASS5] GRASS 5 and ANSI C
Glynn Clements
glynn.clements at virgin.net
Thu Oct 3 15:48:12 EDT 2002
Markus Neteler wrote:
> But: For the analysis the GRASS code must be ANSI C. It seems that
> there is still some K&R code existing....
> Since Giulio Antoniol is busy at time he asked me to 'stimulate' some
> code conversion :-)
>
> As I am not too confident with that, I would like to ask
> - how we can identify K&R C coding style (any gcc tricks?)
> - how we can (partially automated) update to ANSI C (ok, newbie question)?
protoize (normally supplied with gcc). It's described in the "gcc"
Info file (it doesn't have a manpage, AFAICT).
"protoize -n ..." tells you which files it would have converted, which
answers the first question.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list