summaryrefslogtreecommitdiff
path: root/sysdeps/sun4/sem_limits.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-12-11 14:33:18 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-11 14:33:18 +0000
commit18af9297eae8bbb9823851673cfc83285425f40d (patch)
tree19fc56f78c3db3c19b5f4b065dd8450787712ab7 /sysdeps/sun4/sem_limits.c
parentc138d87c30fee9fee21ec8a8a2591f37a1402a6e (diff)
downloadlibgtop-18af9297eae8bbb9823851673cfc83285425f40d.tar.gz
This is a larger source-incompatible commit, but it'll make it easier to
1999-12-11 Martin Baulig <martin@home-of-linux.org> This is a larger source-incompatible commit, but it'll make it easier to write automatically generated code (for instance for scripting languages). Renamed all constants for the flags field to match the field names from the features.def and structures.def where this was not already the case. * include/glibtop/cpu.h: s/GLIBTOP_XCPU_/GLIBTOP_CPU_XCPU_/g. * include/glibtop/shm_limits.h: s/GLIBTOP_IPC_/GLIBTOP_SHM_LIMITS_/g. * include/glibtop/sem_limits.h: s/GLIBTOP_IPC_/GLIBTOP_SEM_LIMITS_/g. * include/glibtop/msg_limits.h: s/GLIBTOP_IPC_/GLIBTOP_MSG_LIMITS_/g.
Diffstat (limited to 'sysdeps/sun4/sem_limits.c')
-rw-r--r--sysdeps/sun4/sem_limits.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/sun4/sem_limits.c b/sysdeps/sun4/sem_limits.c
index d956b0f0..359c2aa1 100644
--- a/sysdeps/sun4/sem_limits.c
+++ b/sysdeps/sun4/sem_limits.c
@@ -34,11 +34,11 @@
#include <sys/sem.h>
static unsigned long _glibtop_sysdeps_sem_limits =
-(1L << GLIBTOP_IPC_SEMMAP) + (1L << GLIBTOP_IPC_SEMMNI) +
-(1L << GLIBTOP_IPC_SEMMNS) + (1L << GLIBTOP_IPC_SEMMNU) +
-(1L << GLIBTOP_IPC_SEMMSL) + (1L << GLIBTOP_IPC_SEMOPM) +
-(1L << GLIBTOP_IPC_SEMUME) + (1L << GLIBTOP_IPC_SEMUSZ) +
-(1L << GLIBTOP_IPC_SEMVMX) + (1L << GLIBTOP_IPC_SEMAEM);
+(1L << GLIBTOP_SEM_LIMITS_SEMMAP) + (1L << GLIBTOP_SEM_LIMITS_SEMMNI) +
+(1L << GLIBTOP_SEM_LIMITS_SEMMNS) + (1L << GLIBTOP_SEM_LIMITS_SEMMNU) +
+(1L << GLIBTOP_SEM_LIMITS_SEMMSL) + (1L << GLIBTOP_SEM_LIMITS_SEMOPM) +
+(1L << GLIBTOP_SEM_LIMITS_SEMUME) + (1L << GLIBTOP_SEM_LIMITS_SEMUSZ) +
+(1L << GLIBTOP_SEM_LIMITS_SEMVMX) + (1L << GLIBTOP_SEM_LIMITS_SEMAEM);
/* Provides information about sysv sem limits. */