]> granicus.if.org Git - procps-ng/commit
top: some minor renaming, reformatting and rearranging
authorJim Warner <james.warner@comcast.net>
Wed, 4 Jul 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 18 Jul 2018 10:17:22 +0000 (20:17 +1000)
commit8c9daf45abc3ac1551b643c268abe759fb8da208
tree67c12ff553b69be5a58587c8f7773d8b67e22b1b
parent38a668909f3fc98b272a9ce5d0bc319a167e5b62
top: some minor renaming, reformatting and rearranging

This commit just addresses these miscellaneous issues:
. always use 'p' for pointers to that proc_t structure
. always match order of local #undef to parent #define
. forest_create use of array index made more efficient

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c
top/top.h