renamed all functions that implementing features to '__l'; we only emit

* lib/*.c: renamed all functions that implementing features
to '__l'; we only emit code for those functions if the
corresponding 'GLIBTOP_SUID_<feature>' has a positive value.
This commit is contained in:
Martin Baulig
1998-05-28 19:22:48 +00:00
parent 62dda3b782
commit 7dd0c2eac3
21 changed files with 119 additions and 43 deletions

View File

@@ -22,11 +22,16 @@
#include <glibtop/msg_limits.h>
#include <glibtop/command.h>
#if GLIBTOP_SUID_MSG_LIMITS
/* Provides information about sysv ipc limits. */
void
glibtop_get_msg_limits__r (glibtop *server, glibtop_msg_limits *buf)
glibtop_get_msg_limits__l (glibtop *server, glibtop_msg_limits *buf)
{
glibtop_init__r (&server);
glibtop_call__r (server, GLIBTOP_CMND_MSG_LIMITS, 0, NULL, sizeof (glibtop_msg_limits), buf);
glibtop_call__l (server, GLIBTOP_CMND_MSG_LIMITS, 0, NULL,
sizeof (glibtop_msg_limits), buf);
}
#endif