For some reason, when top was modified to exploit that
<pids> api, one function prologue was removed. So this
commit just restores it to the 'window_show' function.
Reference(s):
. Aug, 2015 - adapted to new <pids> api
commit
77dc22b9101af39fc30306e36d65cad2b396cc9e
Signed-off-by: Jim Warner <james.warner@comcast.net>
} // end: window_hlp
+ /*
+ * Squeeze as many tasks as we can into a single window,
+ * after sorting the passed proc table. */
static int window_show (WIN_t *q, int wmax) {
#define sORDER CHKw(q, Qsrt_NORMAL) ? PIDS_SORT_DESCEND : PIDS_SORT_ASCEND
/* the isBUSY macro determines if a task is 'active' --