mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
Rework enum ProcessField
Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
This commit is contained in:

committed by
cgzones

parent
d872e36308
commit
89473cc9ae
17
dragonflybsd/ProcessField.h
Normal file
17
dragonflybsd/ProcessField.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef HEADER_DragonFlyBSDProcessField
|
||||
#define HEADER_DragonFlyBSDProcessField
|
||||
/*
|
||||
htop - dragonflybsd/ProcessField.h
|
||||
(C) 2020 htop dev team
|
||||
Released under the GNU GPLv2, see the COPYING file
|
||||
in the source distribution for its full text.
|
||||
*/
|
||||
|
||||
|
||||
#define PLATFORM_PROCESS_FIELDS \
|
||||
JID = 100, \
|
||||
JAIL = 101, \
|
||||
// End of list
|
||||
|
||||
|
||||
#endif /* HEADER_DragonFlyBSDProcessField */
|
Reference in New Issue
Block a user