systat: Sync ifstat code with FreeBSD.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 28 Aug 2011 01:53:25 +0000 (18:53 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 28 Aug 2011 04:15:22 +0000 (21:15 -0700)
commita64bdeb10ad2dfa67a2e6d47fba6c6285957ba5a
tree6b84b22ed3fe31bee46048fada498f8033e3a7e8
parente5cbe65fc4ff3cf0822f0715686f8bf00f3cf5a2
systat:  Sync ifstat code with FreeBSD.

-Add a tera factor.
-Change factors from binary (1024) to SI (1000).
-Allow for larger scale factors.
-Drop useless initializers and includes.
-Use C99 initializers and enums.
-Remove trailing whitespace.

Obtained-from:   FreeBSD
usr.bin/systat/convtbl.c
usr.bin/systat/convtbl.h
usr.bin/systat/ifcmds.c
usr.bin/systat/ifstat.c