summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
commit84281bdc44ea42e110efd256cdcdd37a84276204 (patch)
tree77b2b1f5e8bfc57bd6bdb82ac215e84d9f3179e2 /Process.c
parent81e44312b4976d5516f129f36a67fe381bcb6883 (diff)
major header cleanup
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/Process.c b/Process.c
index cadf7dd5..7c48e67a 100644
--- a/Process.c
+++ b/Process.c
@@ -5,29 +5,28 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#include "Process.h"
+
#include "ProcessList.h"
-#include "Object.h"
#include "CRT.h"
#include "String.h"
-#include "Process.h"
#include "RichString.h"
-#include "Affinity.h"
-
#include "debug.h"
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/param.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <stdbool.h>
#include <pwd.h>
#include <sched.h>
#include <time.h>
+#include <assert.h>
#ifdef HAVE_LIBHWLOC
#include <hwloc/linux.h>
@@ -41,6 +40,9 @@ in the source distribution for its full text.
#define PAGE_SIZE_KB ( PAGE_SIZE / ONE_K )
/*{
+#include "Object.h"
+#include "Affinity.h"
+#include <sys/types.h>
#ifndef Process_isKernelThread
#define Process_isKernelThread(_process) (_process->pgrp == 0)

© 2014-2024 Faster IT GmbH | imprint | privacy policy