summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-15 19:44:36 +0100
committerChristian Göttsche <cgzones@googlemail.com>2020-12-16 19:13:56 +0100
commit1193c6e3498bb91127f16d237c61eeb2b84937c0 (patch)
treee549159c73b80959aebc2d2678d6d7370b2fd038
parentedd6130be73d1cb847f65b06409ac6e0b9cd9d61 (diff)
Use common naming for bare enum types
-rw-r--r--Process.h2
-rw-r--r--linux/LinuxProcess.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Process.h b/Process.h
index 48e31b1d..d50865fb 100644
--- a/Process.h
+++ b/Process.h
@@ -23,7 +23,7 @@ in the source distribution for its full text.
#define PROCESS_FLAG_IO 0x0001
#define DEFAULT_HIGHLIGHT_SECS 5
-typedef enum ProcessFields {
+typedef enum ProcessField_ {
NULL_PROCESSFIELD = 0,
PID = 1,
COMM = 2,
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h
index c9e095d8..b12bf456 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -29,7 +29,7 @@ in the source distribution for its full text.
#define PROCESS_FLAG_LINUX_LRS_FIX 0x00010000
#define PROCESS_FLAG_LINUX_CWD 0x00020000
-typedef enum UnsupportedProcessFields {
+typedef enum UnsupportedProcessField_ {
FLAGS = 9,
ITREALVALUE = 20,
VSIZE = 22,
@@ -50,7 +50,7 @@ typedef enum UnsupportedProcessFields {
EXIT_SIGNAL = 37,
} UnsupportedProcessField;
-typedef enum LinuxProcessFields {
+typedef enum LinuxProcessField_ {
CMINFLT = 11,
CMAJFLT = 13,
UTIME = 14,

© 2014-2024 Faster IT GmbH | imprint | privacy policy