2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 11:42:04 +00:00

tree-wide: fix lxc header inclusion

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-09-03 17:05:12 +02:00
parent 924c626a94
commit 12ae2a33c6
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D
39 changed files with 54 additions and 43 deletions

View File

@ -6,8 +6,8 @@
#include <stdbool.h>
#include <sys/types.h>
#include "lxccontainer.h"
#include "attach_options.h"
#include "lxc.h"
#include "compiler.h"
#include "namespace.h"

View File

@ -16,8 +16,8 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include <lxc/version.h>
#include "lxc.h"
#include "version.h"
#include "compiler.h"
#include "config.h"

View File

@ -21,7 +21,7 @@
#include <sys/un.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "af_unix.h"
#include "config.h"

View File

@ -3,14 +3,17 @@
#ifndef __LXC_COMMANDS_H
#define __LXC_COMMANDS_H
#include "config.h"
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "lxc.h"
#include "compiler.h"
#include "cgroups/cgroup.h"
#include "lxccontainer.h"
#include "macro.h"
#include "state.h"

View File

@ -6,8 +6,7 @@
#include <stdbool.h>
#include <stdio.h>
#include "lxccontainer.h"
#include "attach_options.h"
#include "lxc.h"
#include "compiler.h"

View File

@ -9,6 +9,8 @@
#include <stdlib.h>
#include <string.h>
#include "lxc.h"
#include "conf.h"
#include "config.h"
#include "confile.h"
@ -17,7 +19,6 @@
#include "list.h"
#include "lxc.h"
#include "log.h"
#include "lxccontainer.h"
#include "macro.h"
#include "memory_utils.h"
#include "network.h"

View File

@ -5,7 +5,7 @@
#include <stdbool.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
__hidden extern bool __criu_pre_dump(struct lxc_container *c, struct migrate_opts *opts);
__hidden extern bool __criu_dump(struct lxc_container *c, struct migrate_opts *opts);

View File

@ -18,11 +18,12 @@
#include <syslog.h>
#include <unistd.h>
#include "lxc.h"
#include "caps.h"
#include "config.h"
#include "file_utils.h"
#include "log.h"
#include "lxccontainer.h"
#include "memory_utils.h"
#include "utils.h"

View File

@ -12,6 +12,10 @@ extern "C" {
#include <sys/select.h>
#include <sys/types.h>
#include "attach_options.h"
#include "lxccontainer.h"
#include "version.h"
#include "compiler.h"
#include "memory_utils.h"
#include "state.h"

View File

@ -25,6 +25,8 @@
#include <sys/wait.h>
#include <unistd.h>
#include "lxc.h"
#include "netns_ifaddrs.h"
#include "af_unix.h"
#include "api_extensions.h"
@ -42,7 +44,6 @@
#include "initutils.h"
#include "log.h"
#include "lxc.h"
#include "lxccontainer.h"
#include "lxclock.h"
#include "memory_utils.h"
#include "monitor.h"

View File

@ -12,7 +12,7 @@
#include <sys/file.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "config.h"
#include "log.h"

View File

@ -11,11 +11,12 @@
#include <sys/mount.h>
#include <sys/utsname.h>
#include "lxc.h"
#include "af_unix.h"
#include "commands.h"
#include "config.h"
#include "log.h"
#include "lxccontainer.h"
#include "lxcseccomp.h"
#include "mainloop.h"
#include "memory_utils.h"

View File

@ -25,6 +25,8 @@
#include <sys/wait.h>
#include <unistd.h>
#include "lxc.h"
#include "af_unix.h"
#include "attach_options.h"
#include "caps.h"
@ -41,7 +43,6 @@
#include "list.h"
#include "log.h"
#include "lsm/lsm.h"
#include "lxccontainer.h"
#include "lxclock.h"
#include "lxcseccomp.h"
#include "macro.h"

View File

@ -8,11 +8,12 @@
#include <stdlib.h>
#include <string.h>
#include "lxc.h"
#include "conf.h"
#include "config.h"
#include "confile.h"
#include "log.h"
#include "lxccontainer.h"
#include "macro.h"
#include "memory_utils.h"
#include "overlay.h"

View File

@ -6,7 +6,7 @@
#include <stdint.h>
#include <sys/mount.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#if IS_BIONIC
#include "lxcmntent.h"

View File

@ -5,7 +5,6 @@
#endif
#include <errno.h>
#include <fcntl.h>
#include <lxc/lxccontainer.h>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
@ -15,6 +14,8 @@
#include <termios.h>
#include <unistd.h>
#include "lxc.h"
#include "af_unix.h"
#include "caps.h"
#include "commands.h"

View File

@ -12,8 +12,7 @@
#include <sys/types.h>
#include <unistd.h>
#include "lxccontainer.h"
#include "version.h"
#include "lxc.h"
#include "arguments.h"
#include "initutils.h"

View File

@ -11,7 +11,7 @@
#include <sys/param.h>
#include <sys/types.h>
#include "lxccontainer.h"
#include "lxc.h"
#include "compiler.h"
struct lxc_arguments;

View File

@ -15,7 +15,7 @@
#include <termios.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "attach.h"

View File

@ -8,7 +8,7 @@
#include <string.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -10,7 +10,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -10,7 +10,7 @@
#include <sys/wait.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -6,7 +6,7 @@
#include <stdio.h>
#include <string.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "config.h"

View File

@ -17,7 +17,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -18,7 +18,7 @@
#include <time.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -11,7 +11,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -10,7 +10,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "log.h"

View File

@ -10,7 +10,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "netns_ifaddrs.h"
#include "arguments.h"

View File

@ -14,7 +14,7 @@
#include <sys/wait.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "caps.h"

View File

@ -9,7 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -12,7 +12,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -19,7 +19,7 @@
#include <termios.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -23,7 +23,7 @@
#include <sys/wait.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "af_unix.h"
#include "arguments.h"

View File

@ -12,7 +12,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -19,8 +19,7 @@
#include <sys/utsname.h>
#include <unistd.h>
#include "lxccontainer.h"
#include "attach_options.h"
#include "lxc.h"
#include "arguments.h"
#include "caps.h"

View File

@ -9,7 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -18,7 +18,7 @@
#include <termios.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -9,7 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"

View File

@ -11,7 +11,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <lxc/lxccontainer.h>
#include "lxc.h"
#include "arguments.h"
#include "config.h"