Update redundant code
C99 and visual studio dont mix. It would be irrational to expect standards support from MS