Commit 948955a2 by Stéphane Graber Committed by Serge Hallyn

Consistently use <lxc/lxccontainer.h> for the API

The API header was included in a variety of ways before, standardize those to "include <lxc/lxccontainer.h>" as this will always work both in tree and on a system with the headers installed. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com> Acked-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 48e2f384
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
*/ */
#include "config.h" #include "config.h"
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
struct bdev; struct bdev;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <termios.h> #include <termios.h>
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
#include "log.h" #include "log.h"
#include "conf.h" #include "conf.h"
#include "config.h" #include "config.h"
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "lxc.h" #include "lxc.h"
#include "conf.h" #include "conf.h"
#include "state.h" #include "state.h"
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
lxc_log_define(lxc_clone, lxc); lxc_log_define(lxc_clone, lxc);
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <stdio.h> #include <stdio.h>
#include "config.h" #include "config.h"
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
struct lxc_config_items { struct lxc_config_items {
char *name; char *name;
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <sys/poll.h> #include <sys/poll.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include "error.h" #include "error.h"
#include "lxc.h" #include "lxc.h"
#include "log.h" #include "log.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <stdio.h> #include <stdio.h>
#include <libgen.h> #include <libgen.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <stdio.h> #include <stdio.h>
#include <libgen.h> #include <libgen.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <stdio.h> #include <stdio.h>
#include <libgen.h> #include <libgen.h>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include "log.h" #include "log.h"
#include "caps.h" #include "caps.h"
#include "lxc.h" #include "lxc.h"
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
#include "conf.h" #include "conf.h"
#include "cgroup.h" #include "cgroup.h"
#include "utils.h" #include "utils.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "config.h" #include "config.h"
#include "lxc.h" #include "lxc.h"
#include "state.h" #include "state.h"
#include "lxccontainer.h" #include <lxc/lxccontainer.h>
#include "conf.h" #include "conf.h"
#include "confile.h" #include "confile.h"
#include "console.h" #include "console.h"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <limits.h> #include <limits.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <getopt.h> #include <getopt.h>
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
static int nthreads = 5; static int nthreads = 5;
static int iterations = 1; static int iterations = 1;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "../lxc/lxccontainer.h" #include <lxc/lxccontainer.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment