summaryrefslogtreecommitdiff
path: root/include/glibtop/sem_limits.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-06-01 15:14:50 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-01 15:14:50 +0000
commitb7be9a7141893692c456f6dd579effbc959d1d20 (patch)
tree333afbb075f6135ed0153456d9833cd2d29463cc /include/glibtop/sem_limits.h
parent67798e0d7d631f030db33147ef06d986bba1a5bb (diff)
downloadlibgtop-b7be9a7141893692c456f6dd579effbc959d1d20.tar.gz
added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1.
* include/glibtop/sysdeps.h: added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1. * include/glibtop/*.h: we now #define 'glibtop_get_<feature>' as 'glibtop_get_<feature>__l' and 'glibtop_get_<feature>__r' either as the '__p' or the '__s' function.
Diffstat (limited to 'include/glibtop/sem_limits.h')
-rw-r--r--include/glibtop/sem_limits.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/glibtop/sem_limits.h b/include/glibtop/sem_limits.h
index f24460e2..8a591a68 100644
--- a/include/glibtop/sem_limits.h
+++ b/include/glibtop/sem_limits.h
@@ -57,16 +57,17 @@ struct _glibtop_sem_limits
semaem; /* GLIBTOP_IPC_SEMAEM */
};
-#define glibtop_get_sem_limits(sem) glibtop_get_sem_limits__r(glibtop_global_server, sem)
+#define glibtop_get_sem_limits(sem) glibtop_get_sem_limits__l(glibtop_global_server, sem)
#if GLIBTOP_SUID_SEM_LIMITS
-#define glibtop_get_sem_limits__r glibtop_get_sem_limits__l
+#define glibtop_get_sem_limits__r glibtop_get_sem_limits__p
#else
#define glibtop_get_sem_limits__r glibtop_get_sem_limits__s
#endif
-#if GLIBTOP_SUID_SEM_LIMITS
extern void glibtop_get_sem_limits__l __P((glibtop *, glibtop_sem_limits *));
+
+#if GLIBTOP_SUID_SEM_LIMITS
extern void glibtop_get_sem_limits__p __P((glibtop *, glibtop_sem_limits *));
#else
extern void glibtop_get_sem_limits__s __P((glibtop *, glibtop_sem_limits *));