top(8): designate the sorted_state[] array as constant
Reviewed by: kevans Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40607
This commit is contained in:
parent
813847e49e
commit
5c6393451f
@ -1261,7 +1261,7 @@ compare_tid(const void *p1, const void *p2)
|
||||
* that reflects this ordering.
|
||||
*/
|
||||
|
||||
static int sorted_state[] = {
|
||||
static const int sorted_state[] = {
|
||||
0, /* not used */
|
||||
3, /* sleep */
|
||||
1, /* ABANDONED (WAIT) */
|
||||
|
Loading…
Reference in New Issue
Block a user