]> granicus.if.org Git - procps-ng/commit
top: refactored some of that 'other filtering' support
authorJim Warner <james.warner@comcast.net>
Sun, 17 Jun 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 23 Jun 2018 12:03:56 +0000 (22:03 +1000)
commit80057ec06f419468c7b79367b363e4da47221eb3
treea975cc1d785f2c36af8e32968c6589a934d13b5c
parent1fe5a5415f78e66619b812f3cc86631f7025029e
top: refactored some of that 'other filtering' support

If we are to support preserving 'other filter' entries
in the rcfile, then the current logic setting up those
osel entries for a WIN_t must be shareable for startup
and when interacting with a user. So, this commit just
repositions this current code in a shareable function.

[ along the way, we give the prior guy a proper name ]

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