Added missing const qualifiers.

* loadavg.c: (glibtop_get_loadavg_s):
	* msg_limits.c:
	* sem_limits.c:
	* shm_limits.c: Added missing const qualifiers.
This commit is contained in:
Benoît Dejean
2004-05-25 17:07:20 +00:00
parent b15f542bfc
commit 74453855aa
5 changed files with 11 additions and 4 deletions

View File

@@ -27,7 +27,7 @@
#include <kvm.h>
#include <sys/sem.h>
static struct nlist nlst[] = { {"seminfo"}, {NULL} };
static const struct nlist nlst[] = { {"seminfo"}, {NULL} };
static const unsigned long _glibtop_sysdeps_sem_limits =
#if GLIBTOP_SOLARIS_RELEASE <= 570
(1L << GLIBTOP_IPC_SEMMAP) +