From: Daniel Lezcano Date: Mon, 30 Mar 2009 12:02:19 +0000 (+0200) Subject: cleanup log.h X-Git-Tag: lxc_0_6_2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=731cc33fb7e75085e4281f295c6c9d806f8d3ad5;p=thirdparty%2Flxc.git cleanup log.h Rename lxc_log.h to log.h Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index eea1c79b3..3633d9b86 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -12,7 +12,7 @@ pkginclude_HEADERS = \ cgroup.h \ conf.h \ lxc_list.h \ - lxc_log.h \ + log.h \ lxc_state.h @@ -37,7 +37,7 @@ liblxc_la_SOURCES = \ conf.c conf.h \ lxc_list.h \ lxc_state.c lxc_state.h \ - lxc_log.c lxc_log.h \ + log.c log.h \ \ network.c network.h \ nl.c nl.h \ diff --git a/src/lxc/console.c b/src/lxc/console.c index 6953b93b2..67d8a4cdc 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -27,7 +27,7 @@ #include #include -#include "lxc_log.h" +#include "log.h" #include "af_unix.h" #include "error.h" diff --git a/src/lxc/lxc_log.c b/src/lxc/log.c similarity index 84% rename from src/lxc/lxc_log.c rename to src/lxc/log.c index 7b962dcef..d95c4b8cc 100644 --- a/src/lxc/lxc_log.c +++ b/src/lxc/log.c @@ -2,7 +2,7 @@ #include #include -#include +#include #define MAXTIMELEN 47; #define ERRNO_FORMAT "%d (%s)" diff --git a/src/lxc/lxc_log.h b/src/lxc/log.h similarity index 100% rename from src/lxc/lxc_log.h rename to src/lxc/log.h diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h index 846710413..b1c7ec543 100644 --- a/src/lxc/lxc.h +++ b/src/lxc/lxc.h @@ -35,7 +35,7 @@ extern "C" { #include #include -#include +#include #include #include #include diff --git a/src/lxc/parse.c b/src/lxc/parse.c index 9d0edac9e..b060f8ce9 100644 --- a/src/lxc/parse.c +++ b/src/lxc/parse.c @@ -27,7 +27,7 @@ #include #include "parse.h" -#include "lxc_log.h" +#include "log.h" static int dir_filter(const struct dirent *dirent) {