This is the first version of the larger cleanup in vmstat code. I fixed many style formatting and sorting issues, removed unused variables and function, initialised struct nlist correctly. This allowed to bump WARNS to 6.
I'd take a look at the PRI formatting macros and bde@ comments on xo_emit in later versions.
Submited by: Pawel Biernacki <pawel.biernacki@gmail.com>
Sponsored by: Mysterious Code Ltd.