mirror of
https://gitlab.com/procps-ng/procps.git
synced 2024-11-30 21:44:05 +08:00
top: adapt source to changes with includes, <STAT> api
All other programs were able to accommodate the change in name from readstat.h to stat.h without modification because they were all using that procps.h header file. Well now top can too (providing you ignore a comment). Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
3a48427d5d
commit
f6d6d305e7
@ -232,7 +232,7 @@ enum Rel_items {
|
||||
};
|
||||
// mem stack results extractor macro, where e=rel enum
|
||||
#define MEM_VAL(e) Mem_stack->head[e].result.ul_int
|
||||
// --------------------------------------------- <proc/readstat.h>
|
||||
// ------------------------------------------------- <proc/stat.h>
|
||||
static struct procps_stat *Cpu_ctx;
|
||||
static struct procps_jiffs_hist *Cpu_jiffs;
|
||||
// ------------------------------------------------- <proc/pids.h>
|
||||
|
Loading…
Reference in New Issue
Block a user