summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <benoit@placenet.org>2007-05-19 19:43:31 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2007-05-19 19:43:31 +0000
commitee78aaf29c76b871bf4878968c979535317a4b90 (patch)
treef0d7d8ce8525e807aeab08834499b33fb5e64a5a
parenta5f59cb81ae98b420ad9dfa59f689b41b5f562fe (diff)
downloadlibgtop-ee78aaf29c76b871bf4878968c979535317a4b90.tar.gz
Fixed returned type.
2007-05-19 Benoît Dejean <benoit@placenet.org> * default.c: Fixed returned type. svn path=/trunk/; revision=2597
-rw-r--r--sysdeps/common/ChangeLog6
-rw-r--r--sysdeps/common/default.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/common/ChangeLog b/sysdeps/common/ChangeLog
index 1dfeda42..f22d9b6b 100644
--- a/sysdeps/common/ChangeLog
+++ b/sysdeps/common/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-19 Benoît Dejean <benoit@placenet.org>
+
+ * default.c:
+
+ Fixed returned type.
+
2007-03-16 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (ignore_mount_entry):
diff --git a/sysdeps/common/default.c b/sysdeps/common/default.c
index d24b52a0..ae66c01f 100644
--- a/sysdeps/common/default.c
+++ b/sysdeps/common/default.c
@@ -211,7 +211,7 @@ glibtop_get_proc_argv(glibtop_proc_args *buf, pid_t pid, unsigned max_len)
}
-unsigned *
+pid_t*
glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg)
{
return glibtop_get_proclist_l(glibtop_global_server, buf, which, arg);