summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-07-05 07:51:39 +0200
committerDaniel Lange <DLange@git.local>2021-07-05 07:51:39 +0200
commit3da142b4b6a1ab418d7cc564f42b0f5675293df3 (patch)
treed24450f216978bd5e21a0960f06b6f58dad18d9a
parenta60ff33e52f9f905975d1e4e674da50bc52191c5 (diff)
parent364e4e692feebc268b0dbadf82cb4745e664e3b2 (diff)
Merge branch 'solaris-define-fixes' of BenBE/htop
Tested on OmniOS v11 r151036
-rw-r--r--solaris/SolarisProcessList.c3
-rw-r--r--solaris/SolarisProcessList.h6
2 files changed, 2 insertions, 7 deletions
diff --git a/solaris/SolarisProcessList.c b/solaris/SolarisProcessList.c
index edf6a426..716436e7 100644
--- a/solaris/SolarisProcessList.c
+++ b/solaris/SolarisProcessList.c
@@ -26,7 +26,8 @@ in the source distribution for its full text.
#include "solaris/SolarisProcess.h"
-#define MAXCMDLINE 255
+#define GZONE "global "
+#define UZONE "unknown "
static int pageSize;
static int pageSizeKB;
diff --git a/solaris/SolarisProcessList.h b/solaris/SolarisProcessList.h
index bad2c73e..c262ba4c 100644
--- a/solaris/SolarisProcessList.h
+++ b/solaris/SolarisProcessList.h
@@ -8,12 +8,6 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-#define MAXCMDLINE 255
-
-#define GZONE "global "
-#define UZONE "unknown "
-
-
#include "config.h" // IWYU pragma: keep
#include <kstat.h>