From: Daniel Lezcano Date: Mon, 30 Mar 2009 12:02:19 +0000 (+0200) Subject: cleanup state.h X-Git-Tag: lxc_0_6_2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d2c3e71d5e7ada9878e9cb8f6039f0b02b3458;p=thirdparty%2Flxc.git cleanup state.h Rename lxc_state.h to state.h Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index c30bd5149..a48db135e 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -13,7 +13,7 @@ pkginclude_HEADERS = \ conf.h \ list.h \ log.h \ - lxc_state.h + state.h liblxc_la_SOURCES = \ @@ -36,7 +36,7 @@ liblxc_la_SOURCES = \ namespace.h \ conf.c conf.h \ list.h \ - lxc_state.c lxc_state.h \ + state.c state.h \ log.c log.h \ \ network.c network.h \ diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h index 663999e77..e37467804 100644 --- a/src/lxc/lxc.h +++ b/src/lxc/lxc.h @@ -33,7 +33,7 @@ extern "C" { lxc/lxc.h will contain exports of liblxc **/ -#include +#include #include #include #include diff --git a/src/lxc/lxc_state.c b/src/lxc/state.c similarity index 99% rename from src/lxc/lxc_state.c rename to src/lxc/state.c index 830d68abd..e542230ea 100644 --- a/src/lxc/lxc_state.c +++ b/src/lxc/state.c @@ -163,7 +163,7 @@ static int freezer_state(const char *name) char status[MAXPATHLEN]; FILE *file; int err; - + snprintf(freezer, MAXPATHLEN, LXCPATH "/%s/freezer.state", name); diff --git a/src/lxc/lxc_state.h b/src/lxc/state.h similarity index 100% rename from src/lxc/lxc_state.h rename to src/lxc/state.h