Added missing const qualifiers.
* sem_limits.c: * shm_limits.c: * swap.c: Added missing const qualifiers. * uptime.c: (glibtop_get_uptime_s): Cleaned up. Added boot_time.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include <glibtop/error.h>
|
||||
#include <glibtop/shm_limits.h>
|
||||
|
||||
static unsigned long _glibtop_sysdeps_shm_limits =
|
||||
static const unsigned long _glibtop_sysdeps_shm_limits =
|
||||
(1L << GLIBTOP_IPC_SHMMAX) + (1L << GLIBTOP_IPC_SHMMIN) +
|
||||
(1L << GLIBTOP_IPC_SHMMNI) + (1L << GLIBTOP_IPC_SHMSEG);
|
||||
|
||||
|
Reference in New Issue
Block a user