aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Le Goater <clg@vnet.ibm.com>2009-11-17 10:56:23 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2009-11-17 10:56:23 +0100
commit00b3c2e2845792face31017e905f9b8b4ea48653 (patch)
tree6f87ee54157260f1a9d295a5220e734f76585556 /src/lxc/lxc.h
parenttypo in 488624016575d092d56211347b2bbe8367cd339a (V2) (diff)
downloadlxc-00b3c2e2845792face31017e905f9b8b4ea48653.tar.gz
lxc-00b3c2e2845792face31017e905f9b8b4ea48653.tar.bz2
lxc-00b3c2e2845792face31017e905f9b8b4ea48653.zip
cleanup <lxc/lxc.h>
<lxc/lxc.h> should only include what is needed. This patch removes all useless headers from lxc.h and fixed other .c files. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'src/lxc/lxc.h')
-rw-r--r--src/lxc/lxc.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h
index 1d04b9f..a78fb65 100644
--- a/src/lxc/lxc.h
+++ b/src/lxc/lxc.h
@@ -33,16 +33,10 @@ extern "C" {
lxc/lxc.h will contain exports of liblxc
**/
+#include <stddef.h>
#include <lxc/state.h>
-#include <lxc/list.h>
-#include <lxc/log.h>
-#include <lxc/conf.h>
-#include <lxc/namespace.h>
-#include <lxc/utils.h>
-#include <lxc/error.h>
-#include <lxc/cgroup.h>
-#include <lxc/monitor.h>
-#include <lxc/start.h>
+
+struct lxc_msg;
/*
* Start the specified command inside a container