Fixed warnings about proclist returning pid_t.

svn path=/trunk/; revision=2728
This commit is contained in:
Benoît Dejean
2008-04-03 16:29:55 +00:00
parent 7bb5abb9a8
commit 87a80ba430
4 changed files with 7 additions and 6 deletions

View File

@@ -47,9 +47,9 @@ main (int argc, char *argv [])
{
glibtop_union data;
glibtop_sysdeps sysdeps;
unsigned c, method, count, port, i, *ptr;
unsigned c, method, count, port, i;
char buffer [BUFSIZ];
pid_t pid, ppid;
pid_t pid, ppid, *ptr;
char *args;
count = PROFILE_COUNT;