Commit 4650864e authored by Pavel Emelyanov's avatar Pavel Emelyanov

Hide asm/int.h from srources

travis-ci: success for criu: Remove asm/ includes from non-arch sources
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 96c7cb76
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <errno.h> #include <errno.h>
#include "asm/int.h" #include "int.h"
#include "bug.h" #include "bug.h"
#include "log.h" #include "log.h"
#include "bfd.h" #include "bfd.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "cgroup-props.h" #include "cgroup-props.h"
#include "cr_options.h" #include "cr_options.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sched.h> #include <sched.h>
#include "asm/int.h" #include "int.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
#include "external.h" #include "external.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <dlfcn.h> #include <dlfcn.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include "asm/int.h" #include "int.h"
#include "file-ids.h" #include "file-ids.h"
#include "rbtree.h" #include "rbtree.h"
#include "kcmp-ids.h" #include "kcmp-ids.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <sys/mount.h> #include <sys/mount.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "cr_options.h" #include "cr_options.h"
......
#ifndef __CR_CGROUP_H__ #ifndef __CR_CGROUP_H__
#define __CR_CGROUP_H__ #define __CR_CGROUP_H__
#include "asm/int.h" #include "int.h"
#include "images/core.pb-c.h" #include "images/core.pb-c.h"
struct pstree_item; struct pstree_item;
......
#ifndef __CR_IMAGE_DESC_H__ #ifndef __CR_IMAGE_DESC_H__
#define __CR_IMAGE_DESC_H__ #define __CR_IMAGE_DESC_H__
#include "asm/int.h" #include "int.h"
enum { enum {
CR_FD_INVENTORY, CR_FD_INVENTORY,
......
#ifndef __CR_INC_INT_H__
#define __CR_INC_INT_H__
#include "asm/int.h"
#endif
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define __CR_MEM_H__ #define __CR_MEM_H__
#include <stdbool.h> #include <stdbool.h>
#include "asm/int.h" #include "int.h"
#include "vma.pb-c.h" #include "vma.pb-c.h"
struct parasite_ctl; struct parasite_ctl;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <sys/types.h> #include <sys/types.h>
#include "asm/page.h" #include "asm/page.h"
#include "asm/int.h" #include "int.h"
#include "common/list.h" #include "common/list.h"
......
#ifndef __CR_PRCTL_H__ #ifndef __CR_PRCTL_H__
#define __CR_PRCTL_H__ #define __CR_PRCTL_H__
#include "asm/int.h" #include "int.h"
#ifndef PR_SET_NAME #ifndef PR_SET_NAME
# define PR_SET_NAME 15 # define PR_SET_NAME 15
......
#ifndef __CR_SHMEM_H__ #ifndef __CR_SHMEM_H__
#define __CR_SHMEM_H__ #define __CR_SHMEM_H__
#include "asm/int.h" #include "int.h"
#include "lock.h" #include "lock.h"
#include "images/vma.pb-c.h" #include "images/vma.pb-c.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <sys/shm.h> #include <sys/shm.h>
#include <sched.h> #include <sched.h>
#include "asm/int.h" #include "int.h"
#include "util.h" #include "util.h"
#include "cr_options.h" #include "cr_options.h"
#include "imgset.h" #include "imgset.h"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "asm/int.h" #include "int.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "irmap.h" #include "irmap.h"
#include "mount.h" #include "mount.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "asm/int.h" #include "int.h"
#include "rbtree.h" #include "rbtree.h"
#include "util.h" #include "util.h"
#include "kcmp-ids.h" #include "kcmp-ids.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <errno.h> #include <errno.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "asm/int.h" #include "int.h"
#include "log.h" #include "log.h"
#include "bug.h" #include "bug.h"
#include "kerndat.h" #include "kerndat.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include "asm/int.h" #include "int.h"
#include "libnetlink.h" #include "libnetlink.h"
#include "util.h" #include "util.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "asm/int.h" #include "int.h"
#include "asm/page.h" #include "asm/page.h"
#include "compiler.h" #include "compiler.h"
#include "util.h" #include "util.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include "asm/int.h" #include "int.h"
#include "config.h" #include "config.h"
#include "pstree.h" #include "pstree.h"
#include "util.h" #include "util.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sched.h> #include <sched.h>
#include "asm/int.h" #include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "util.h" #include "util.h"
#include "util-pie.h" #include "util-pie.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <stdlib.h> #include <stdlib.h>
#include "asm/int.h" #include "int.h"
#include "util.h" #include "util.h"
#include "common/list.h" #include "common/list.h"
#include "files.h" #include "files.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#undef LOG_PREFIX #undef LOG_PREFIX
#define LOG_PREFIX "page-pipe: " #define LOG_PREFIX "page-pipe: "
#include "asm/int.h" #include "int.h"
#include "asm/page.h" #include "asm/page.h"
#include "config.h" #include "config.h"
#include "util.h" #include "util.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include "asm/int.h" #include "int.h"
#include "mount.h" #include "mount.h"
#include "path.h" #include "path.h"
#include "bug.h" #include "bug.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <errno.h> #include <errno.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "log.h" #include "log.h"
#include "asm/string.h" #include "asm/string.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <errno.h> #include <errno.h>
#include <stdbool.h> #include <stdbool.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "asm/string.h" #include "asm/string.h"
#include "fcntl.h" #include "fcntl.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <ctype.h> #include <ctype.h>
#include <linux/fs.h> #include <linux/fs.h>
#include "asm/int.h" #include "int.h"
#include "common/list.h" #include "common/list.h"
#include "util.h" #include "util.h"
#include "mount.h" #include "mount.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "util.h" #include "util.h"
#include "ptrace.h" #include "ptrace.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <time.h> #include <time.h>
#include "asm/int.h" #include "int.h"
#include "compiler.h" #include "compiler.h"
#include "cr_options.h" #include "cr_options.h"
#include "cr-errno.h" #include "cr-errno.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <sched.h> #include <sched.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "asm/int.h" #include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "util.h" #include "util.h"
#include "common/list.h" #include "common/list.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <string.h> #include <string.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "asm/int.h" #include "int.h"
#include "asm/bitops.h" #include "asm/bitops.h"
#include "libnetlink.h" #include "libnetlink.h"
#include "sockets.h" #include "sockets.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <sys/timerfd.h> #include <sys/timerfd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "asm/int.h" #include "int.h"
#include "protobuf.h" #include "protobuf.h"
#include "images/timerfd.pb-c.h" #include "images/timerfd.pb-c.h"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <sched.h> #include <sched.h>
#include <ctype.h> #include <ctype.h>
#include "asm/int.h" #include "int.h"
#include "asm/bitops.h" #include "asm/bitops.h"
#include "asm/page.h" #include "asm/page.h"
#include "compiler.h" #include "compiler.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <string.h> #include <string.h>
#include <sched.h> #include <sched.h>
#include "asm/int.h" #include "int.h"
#include "util.h" #include "util.h"
#include "namespaces.h" #include "namespaces.h"
#include "sysctl.h" #include "sysctl.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