Made the code ANSI (C89) compatible

Also removed CVS log markers from the source code. This step precedes my re-factoring of the approximate Sun coordinates calculations.