mirror of https://github.com/xzeldon/htop.git
Use common naming for bare enum types
This commit is contained in:
parent
edd6130be7
commit
1193c6e349
|
@ -23,7 +23,7 @@ in the source distribution for its full text.
|
||||||
#define PROCESS_FLAG_IO 0x0001
|
#define PROCESS_FLAG_IO 0x0001
|
||||||
#define DEFAULT_HIGHLIGHT_SECS 5
|
#define DEFAULT_HIGHLIGHT_SECS 5
|
||||||
|
|
||||||
typedef enum ProcessFields {
|
typedef enum ProcessField_ {
|
||||||
NULL_PROCESSFIELD = 0,
|
NULL_PROCESSFIELD = 0,
|
||||||
PID = 1,
|
PID = 1,
|
||||||
COMM = 2,
|
COMM = 2,
|
||||||
|
|
|
@ -29,7 +29,7 @@ in the source distribution for its full text.
|
||||||
#define PROCESS_FLAG_LINUX_LRS_FIX 0x00010000
|
#define PROCESS_FLAG_LINUX_LRS_FIX 0x00010000
|
||||||
#define PROCESS_FLAG_LINUX_CWD 0x00020000
|
#define PROCESS_FLAG_LINUX_CWD 0x00020000
|
||||||
|
|
||||||
typedef enum UnsupportedProcessFields {
|
typedef enum UnsupportedProcessField_ {
|
||||||
FLAGS = 9,
|
FLAGS = 9,
|
||||||
ITREALVALUE = 20,
|
ITREALVALUE = 20,
|
||||||
VSIZE = 22,
|
VSIZE = 22,
|
||||||
|
@ -50,7 +50,7 @@ typedef enum UnsupportedProcessFields {
|
||||||
EXIT_SIGNAL = 37,
|
EXIT_SIGNAL = 37,
|
||||||
} UnsupportedProcessField;
|
} UnsupportedProcessField;
|
||||||
|
|
||||||
typedef enum LinuxProcessFields {
|
typedef enum LinuxProcessField_ {
|
||||||
CMINFLT = 11,
|
CMINFLT = 11,
|
||||||
CMAJFLT = 13,
|
CMAJFLT = 13,
|
||||||
UTIME = 14,
|
UTIME = 14,
|
||||||
|
|
Loading…
Reference in New Issue