whitespace clean up.

* *.{c,h} : whitespace clean up.
This commit is contained in:
Benoît Dejean
2004-06-09 18:52:22 +00:00
parent b0edf88ff7
commit 70b0925a82
190 changed files with 739 additions and 735 deletions

View File

@@ -47,43 +47,43 @@ glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf)
glibtop_init_s (&server, 0, 0);
memset (buf, 0, sizeof (glibtop_shm_limits));
ret = table (TBL_SHMINFO, SHMINFO_MAX, (char *) &value, 1,
sizeof (value));
sizeof (value));
if (ret != 1) return;
buf->flags += (1L << GLIBTOP_IPC_SHMMAX);
buf->shmmax = value;
ret = table (TBL_SHMINFO, SHMINFO_MIN, (char *) &value, 1,
sizeof (value));
sizeof (value));
if (ret != 1) return;
buf->flags += (1L << GLIBTOP_IPC_SHMMIN);
buf->shmmin = value;
ret = table (TBL_SHMINFO, SHMINFO_MNI, (char *) &value, 1,
sizeof (value));
sizeof (value));
if (ret != 1) return;
buf->flags += (1L << GLIBTOP_IPC_SHMMNI);
buf->shmmni = value;
ret = table (TBL_SHMINFO, SHMINFO_SEG, (char *) &value, 1,
sizeof (value));
sizeof (value));
if (ret != 1) return;
buf->flags += (1L << GLIBTOP_IPC_SHMSEG);
buf->shmseg = value;
}