MFC r268644:libc/stdlib: Minor cleanups to code originating in NetBSDMostly ANSIfication and typos.Obtained from: NetBSD