diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-12-11 14:33:18 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-12-11 14:33:18 +0000 |
commit | 18af9297eae8bbb9823851673cfc83285425f40d (patch) | |
tree | 19fc56f78c3db3c19b5f4b065dd8450787712ab7 /sysdeps/sun4 | |
parent | c138d87c30fee9fee21ec8a8a2591f37a1402a6e (diff) | |
download | libgtop-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')
-rw-r--r-- | sysdeps/sun4/msg_limits.c | 6 | ||||
-rw-r--r-- | sysdeps/sun4/sem_limits.c | 10 | ||||
-rw-r--r-- | sysdeps/sun4/shm_limits.c | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/sun4/msg_limits.c b/sysdeps/sun4/msg_limits.c index a2e4b87e..6e11f917 100644 --- a/sysdeps/sun4/msg_limits.c +++ b/sysdeps/sun4/msg_limits.c @@ -34,9 +34,9 @@ #include <sys/msg.h> static const unsigned long _glibtop_sysdeps_msg_limits = -(1L << GLIBTOP_IPC_MSGMAP) + (1L << GLIBTOP_IPC_MSGMAX) + -(1L << GLIBTOP_IPC_MSGMNB) + (1L << GLIBTOP_IPC_MSGMNI) + -(1L << GLIBTOP_IPC_MSGSSZ) + (1L << GLIBTOP_IPC_MSGTQL); +(1L << GLIBTOP_MSG_LIMITS_MSGMAP) + (1L << GLIBTOP_MSG_LIMITS_MSGMAX) + +(1L << GLIBTOP_MSG_LIMITS_MSGMNB) + (1L << GLIBTOP_MSG_LIMITS_MSGMNI) + +(1L << GLIBTOP_MSG_LIMITS_MSGSSZ) + (1L << GLIBTOP_MSG_LIMITS_MSGTQL); /* Provides information about sysv ipc limits. */ 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. */ diff --git a/sysdeps/sun4/shm_limits.c b/sysdeps/sun4/shm_limits.c index 249dd414..56c40042 100644 --- a/sysdeps/sun4/shm_limits.c +++ b/sysdeps/sun4/shm_limits.c @@ -34,9 +34,9 @@ #include <sys/shm.h> static unsigned long _glibtop_sysdeps_shm_limits = -(1L << GLIBTOP_IPC_SHMMAX) + (1L << GLIBTOP_IPC_SHMMIN) + -(1L << GLIBTOP_IPC_SHMMNI) + (1L << GLIBTOP_IPC_SHMSEG) + -(1L << GLIBTOP_IPC_SHMALL); +(1L << GLIBTOP_SHM_LIMITS_SHMMAX) + (1L << GLIBTOP_SHM_LIMITS_SHMMIN) + +(1L << GLIBTOP_SHM_LIMITS_SHMMNI) + (1L << GLIBTOP_SHM_LIMITS_SHMSEG) + +(1L << GLIBTOP_SHM_LIMITS_SHMALL); /* Provides information about sysv ipc limits. */ |