]> granicus.if.org Git - procps-ng/commit
top: tweak a couple task_show() macros for consistency
authorJim Warner <james.warner@comcast.net>
Sun, 13 Feb 2022 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Thu, 17 Feb 2022 07:23:30 +0000 (18:23 +1100)
commit787615d8da696a6fa9bf47ec99652e7256a20239
treeb939354c725ad3c94159387cd07e28652e7457ad
parent2c12f1f2952d727402d2419022b3bc87c23d18a9
top: tweak a couple task_show() macros for consistency

There was a potential problem with these macros should
that '#define SCROLLVAR_NO' be active and they were to
appear in an 'if' statement (like is necessary for the
master branch version of top under that EU_CMD label).

[ now they're always usable without requiring an ';' ]

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