]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cleanup state.h
authorDaniel Lezcano <daniel.lezcano@free.fr>
Mon, 30 Mar 2009 12:02:19 +0000 (14:02 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 30 Mar 2009 12:02:19 +0000 (14:02 +0200)
Rename lxc_state.h to state.h

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
src/lxc/Makefile.am
src/lxc/lxc.h
src/lxc/state.c [moved from src/lxc/lxc_state.c with 99% similarity]
src/lxc/state.h [moved from src/lxc/lxc_state.h with 100% similarity]

index c30bd51490360091d10677ba9db8a369f64b7128..a48db135e5d86f667086a46ed77eef5a65376267 100644 (file)
@@ -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 \
index 663999e77605456c71524a3522f889ff52a940b4..e374678045c28d59c4f43aac5142c9592b82618d 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
  lxc/lxc.h will contain exports of liblxc
  **/
 
-#include <lxc/lxc_state.h>
+#include <lxc/state.h>
 #include <lxc/list.h>
 #include <lxc/log.h>
 #include <lxc/conf.h>
similarity index 99%
rename from src/lxc/lxc_state.c
rename to src/lxc/state.c
index 830d68abd0e21eb7ba0fd58f78a3923a7b1f4ba7..e542230ea5cf8a87c254b090d6a89e4d4a08dc7f 100644 (file)
@@ -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);
 
similarity index 100%
rename from src/lxc/lxc_state.h
rename to src/lxc/state.h