[libgtop] stub sysdep: fix mismatched function vs. prototype



commit b7e1219e0a3b9db1db9437971de8e34ad59c340c
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Feb 11 13:56:12 2014 -0500

    stub sysdep: fix mismatched function vs. prototype
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724196

 sysdeps/stub/proclist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sysdeps/stub/proclist.c b/sysdeps/stub/proclist.c
index 0a5acdf..e857dc0 100644
--- a/sysdeps/stub/proclist.c
+++ b/sysdeps/stub/proclist.c
@@ -42,7 +42,7 @@ _glibtop_init_proclist_s (glibtop *server)
  *   On success, it returnes a pointer to a list of buf->number elements
  *   each buf->size big. The total size is stored in buf->total. */
 
-unsigned *
+pid_t *
 glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
                        gint64 which, gint64 arg)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]