top: eliminate all superfluous cruft under the new API
This commit is just a cleanup of some extraneous cruft left after the newlib migrations and summarized below: . whack the 2nd line of what was an eliminated comment . eliminated reference to NUM_NS and thus that need to include the otherwise defunct 'readproc.h' header file . reference to Frame_maxtask made properly generalized . all former sort support #define's are now eliminated Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@ -171,7 +171,6 @@ static WIN_t *Curwin;
|
||||
[ 'Frames_...' (plural) stuff persists beyond 1 frame ]
|
||||
[ or are used in response to async signals received ! ] */
|
||||
static volatile int Frames_signal; // time to rebuild all column headers
|
||||
// ie. current 'size' of proc table
|
||||
static float Frame_etscale; // so we can '*' vs. '/' WHEN 'pcpu'
|
||||
|
||||
/* Support for automatically sized fixed-width column expansions.
|
||||
@ -2142,7 +2141,7 @@ static void zap_fieldstab (void) {
|
||||
= Rc.fixed_widest ? 8 + Rc.fixed_widest : 8;
|
||||
Fieldstab[EU_WCH].width
|
||||
= Rc.fixed_widest ? 10 + Rc.fixed_widest : 10;
|
||||
for (i = EU_NS1; i < EU_NS1 + NUM_NS; i++)
|
||||
for (i = EU_NS1; i <= EU_NS6; i++)
|
||||
Fieldstab[i].width
|
||||
= Rc.fixed_widest ? 10 + Rc.fixed_widest : 10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user