Made the code ANSI (C89) compatible

Also removed CVS log markers from the source code
Merge pull request #10 from mohamed/master

Made the code ANSI (C89) compatible and removed CVS log markers