summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-08-06 14:03:26 +0200
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-08-29 10:50:25 +0530
commit6f93cd767947d29c51a8d9fefeb7e582b0a324a2 (patch)
tree241ed98fedb909f8a5a56c2c833516c233cd93d5 /include
parent76b46b3e37dc3417e63654e262067e995c509bb4 (diff)
downloadlibcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.tar.gz
libcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.tar.xz
libcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.zip
Remove unnecessary includes from libcgroup.h
libcgroup.h includes some header files, which are not then used. These should be removed, resp. moved to the source files where they are actually needed. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcgroup.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index b8a3a77..f424562 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -21,13 +21,9 @@
__BEGIN_DECLS
#include <grp.h>
-#include <linux/types.h>
#include <stdbool.h>
#include <stdio.h>
-#include <sys/stat.h>
#include <sys/types.h>
-#include <unistd.h>
-#include <limits.h>
#include <linux/cn_proc.h>
#ifndef _GNU_SOURCE