Updating branch refs/heads/master
         to e5ad1842bf9721567ad0c93e7081ba5c24496088 (commit)
       from 3acd33040055d460b7c901bd88a6ffc40e9fc827 (commit)

commit e5ad1842bf9721567ad0c93e7081ba5c24496088
Author: Landry Breuil <lan...@rhaalovely.net>
Date:   Thu May 13 19:56:10 2010 +0200

    Fix missing includes, remove unused variables

 src/task-manager-bsd.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/task-manager-bsd.c b/src/task-manager-bsd.c
index 2e94083..1c21974 100644
--- a/src/task-manager-bsd.c
+++ b/src/task-manager-bsd.c
@@ -24,10 +24,15 @@
 #include <sys/param.h>
 #include <sys/sched.h>
 #include <sys/sysctl.h>
+/* for swapctl() */
+#include <sys/swap.h>
 /* for kill() */
 #include <signal.h>
 #include <err.h>
-
+/* for strlcpy() */
+#include <string.h>
+/* for getpagesize() */
+#include <unistd.h>
 #include "task-manager.h"
 
 char   *state_abbrev[] = {
@@ -41,14 +46,9 @@ gboolean get_task_list (GArray *task_list)
        struct kinfo_proc2 *kp;
        Task t;
        struct passwd *passwdp;
-       double d;
        char **args, **ptr;
        char buf[127];
        int nproc, i;
-       fixpt_t ccpu; /* The scheduler exponential decay value. */
-       int fscale; /* The kernel fixed-point scale factor. */
-
-//     task_list = g_array_new (FALSE, FALSE, sizeof (struct task));
 
        mib[0] = CTL_KERN;
        mib[1] = KERN_PROC2;
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to