Update from K&R to ANSI. KNF cleanup.