mwplight,
compiles now with gcc -ansi -Wall -Wextra -Wc++-compat. But it throws
lots of warnings, which need to be adressed. Most of
them are minor warnings, about unused variables or unclear syntax, and
can be easily fixed; but the main work will be to refactor the code,
with clean foo.c/foo.h files, no more global variables, no
environment variables...
And a documentation (in the source and as a man page) will be required.