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:
Benoît Dejean
2004-05-25 17:12:39 +00:00
parent 74453855aa
commit dc3027c438
10 changed files with 31 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ union semun
};
#endif
static unsigned long _glibtop_sysdeps_sem_limits =
static const unsigned long _glibtop_sysdeps_sem_limits =
(1 << GLIBTOP_IPC_SEMMAP) + (1 << GLIBTOP_IPC_SEMMNI) +
(1 << GLIBTOP_IPC_SEMMNS) + (1 << GLIBTOP_IPC_SEMMNU) +
(1 << GLIBTOP_IPC_SEMMSL) + (1 << GLIBTOP_IPC_SEMOPM) +