Changes to make this compile
Style changes and change from varags.h to stdargs.h