[CRIU] [PATCH 53/78] compel: Use common's compiler.h

Cyrill Gorcunov gorcunov at openvz.org
Mon Nov 7 08:36:38 PST 2016


And drop compel/include symlink.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/include/compiler.h | 1 -
 compel/include/piegen.h   | 3 ++-
 compel/plugins/fds/fds.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 delete mode 120000 compel/include/compiler.h

diff --git a/compel/include/compiler.h b/compel/include/compiler.h
deleted file mode 120000
index 2e49be435763..000000000000
--- a/compel/include/compiler.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/common/compiler.h
\ No newline at end of file
diff --git a/compel/include/piegen.h b/compel/include/piegen.h
index f1ed2e13d309..9789fa0a0831 100644
--- a/compel/include/piegen.h
+++ b/compel/include/piegen.h
@@ -5,7 +5,8 @@
 #include <unistd.h>
 
 #include <elf.h>
-#include "compiler.h"
+
+#include "common/compiler.h"
 
 typedef struct {
 	char		*input_filename;
diff --git a/compel/plugins/fds/fds.c b/compel/plugins/fds/fds.c
index fa739058f5d6..a7966e5de046 100644
--- a/compel/plugins/fds/fds.c
+++ b/compel/plugins/fds/fds.c
@@ -6,7 +6,7 @@
 
 #include "std-priv.h"
 
-#include "compiler.h"
+#include "common/compiler.h"
 
 #define __sys(foo)	sys_##foo
 #define __std(foo)	std_##foo
-- 
2.7.4



More information about the CRIU mailing list