[CRIU] [PATCH 1/6] Remove unused #include <sys/sendfile.h>

Radostin Stoyanov rstoyanov1 at gmail.com
Sat Nov 10 00:51:21 MSK 2018


Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
 criu/cr-dump.c    | 1 -
 criu/cr-restore.c | 1 -
 criu/sk-queue.c   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/criu/cr-dump.c b/criu/cr-dump.c
index fe7a3046..e907a6e3 100644
--- a/criu/cr-dump.c
+++ b/criu/cr-dump.c
@@ -17,7 +17,6 @@
 #include <sys/resource.h>
 #include <sys/wait.h>
 
-#include <sys/sendfile.h>
 
 #include <sched.h>
 #include <sys/resource.h>
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 6086d652..50d92f9c 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -21,7 +21,6 @@
 #include <sys/prctl.h>
 #include <sched.h>
 
-#include <sys/sendfile.h>
 
 #include "types.h"
 #include <compel/ptrace.h>
diff --git a/criu/sk-queue.c b/criu/sk-queue.c
index d19de750..613e3846 100644
--- a/criu/sk-queue.c
+++ b/criu/sk-queue.c
@@ -8,7 +8,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include <sys/sendfile.h>
 
 #include "common/list.h"
 #include "imgset.h"
-- 
2.17.2



More information about the CRIU mailing list