diff options
author | Benoît Dejean <benoit@placenet.org> | 2007-05-20 21:55:42 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2007-05-20 21:55:42 +0000 |
commit | 6509ddff4c941afc0ac0247aefb6206121179e48 (patch) | |
tree | c8a02053e81712eaa9203ab785cf303e21d43a2b /sysdeps/linux/procwd.c | |
parent | ee78aaf29c76b871bf4878968c979535317a4b90 (diff) | |
download | libgtop-6509ddff4c941afc0ac0247aefb6206121179e48.tar.gz |
Got rid of glibtop_init_s calls. If i'm right, these are only no-op and
2007-05-20 Benoît Dejean <benoit@placenet.org>
* *.c:
Got rid of glibtop_init_s calls.
If i'm right, these are only no-op and the legacy stub/ don't
have any calls to them, so it's should harmless.
So let's try it.
svn path=/trunk/; revision=2598
Diffstat (limited to 'sysdeps/linux/procwd.c')
-rw-r--r-- | sysdeps/linux/procwd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/linux/procwd.c b/sysdeps/linux/procwd.c index 71990015..9a79085f 100644 --- a/sysdeps/linux/procwd.c +++ b/sysdeps/linux/procwd.c @@ -59,8 +59,6 @@ glibtop_get_proc_wd_s(glibtop *server, glibtop_proc_wd *buf, pid_t pid) char dir[256]; DIR *task; - glibtop_init_s(&server, GLIBTOP_SYSDEPS_PROC_WD, 0); - memset(buf, 0, sizeof(glibtop_proc_wd)); g_snprintf(path, sizeof path, "/proc/%u/root", pid); |