[CRIU] [PATCH 10/13] Hide asm/parasite-syscall.h from sources

Pavel Emelyanov xemul at virtuozzo.com
Thu Oct 20 13:41:36 PDT 2016


Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/cr-restore.c               | 1 -
 criu/include/parasite-syscall.h | 1 +
 criu/parasite-syscall.c         | 1 -
 criu/vdso.c                     | 2 --
 4 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 837c232..fa09709 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -89,7 +89,6 @@
 #include "images/siginfo.pb-c.h"
 
 #include "asm/restore.h"
-#include "asm/parasite-syscall.h"
 
 #include "cr-errno.h"
 
diff --git a/criu/include/parasite-syscall.h b/criu/include/parasite-syscall.h
index 1850345..53285f4 100644
--- a/criu/include/parasite-syscall.h
+++ b/criu/include/parasite-syscall.h
@@ -4,6 +4,7 @@
 #include "pid.h"
 #include "list.h"
 #include "config.h"
+#include "asm/parasite-syscall.h"
 
 #define BUILTIN_SYSCALL_SIZE	8
 
diff --git a/criu/parasite-syscall.c b/criu/parasite-syscall.c
index e6e8488..3d29a11 100644
--- a/criu/parasite-syscall.c
+++ b/criu/parasite-syscall.c
@@ -36,7 +36,6 @@
 #include <stdlib.h>
 #include <elf.h>
 
-#include "asm/parasite-syscall.h"
 #include "asm/dump.h"
 #include "restorer.h"
 #include "pie/pie-relocs.h"
diff --git a/criu/vdso.c b/criu/vdso.c
index 2b1ddf7..39b66c6 100644
--- a/criu/vdso.c
+++ b/criu/vdso.c
@@ -9,8 +9,6 @@
 #include <sys/stat.h>
 #include <sys/mman.h>
 
-#include "asm/parasite-syscall.h"
-
 #include "parasite-syscall.h"
 #include "parasite.h"
 #include "compiler.h"
-- 
2.1.4



More information about the CRIU mailing list