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

Submitted by Pavel Emelianov on Oct. 20, 2016, 8:41 p.m.

Details

Message ID 58092C00.5010801@virtuozzo.com
State Superseded
Series "criu: Remove asm/ includes from non-arch sources"
Headers show

Commit Message

Pavel Emelianov Oct. 20, 2016, 8:41 p.m.
Signed-off-by: Pavel Emelyanov <xemul@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(-)

Patch hide | download patch | download mbox

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"