perl -pni -e 's,server->machine,server->_priv->machine,g' *.c

perl -pni -e 's,server->machine,server->_priv->machine,g' *.h
This commit is contained in:
Martin Baulig
1999-12-25 18:30:26 +00:00
parent 595553ae0b
commit 42cbc7cf0c
13 changed files with 86 additions and 86 deletions

View File

@@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysdeps_shm_limits =
int
glibtop_init_shm_limits_p (glibtop *server)
{
kvm_t *kd = server->machine.kd;
kvm_t *kd = server->_priv->machine.kd;
if(kd && !kvm_nlist(kd, nlst))
server->sysdeps.shm_limits = _glibtop_sysdeps_shm_limits;
@@ -50,7 +50,7 @@ glibtop_init_shm_limits_p (glibtop *server)
int
glibtop_get_shm_limits_p (glibtop *server, glibtop_shm_limits *buf)
{
kvm_t *kd = server->machine.kd;
kvm_t *kd = server->_priv->machine.kd;
struct shminfo sinfo;
memset (buf, 0, sizeof (glibtop_shm_limits));