[CRIU] [crtools-bot for Kinsbursky Stanislav ] parasite: remove unused headers

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 28 12:14:08 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit fe559c7e48624603fd098daa9ee9bc97d9a1b28b
Author: Kinsbursky Stanislav <skinsbursky at openvz.org>
Date:   Tue Feb 28 21:13:26 2012 +0400

    parasite: remove unused headers
    
    Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/parasite.h |    1 -
 parasite.c         |   10 ----------
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/include/parasite.h b/include/parasite.h
index f331d85..c8c9973 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -6,7 +6,6 @@
 #include <limits.h>
 
 #include "compiler.h"
-#include "syscall.h"
 #include "image.h"
 
 #define __parasite_head		__used __section(.parasite.head.text)
diff --git a/parasite.c b/parasite.c
index a2bdb26..9a9114f 100644
--- a/parasite.c
+++ b/parasite.c
@@ -1,23 +1,13 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <sys/types.h>
 #include <sys/mman.h>
-#include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/socket.h>
-#include <sys/un.h>
-#include <fcntl.h>
 #include <unistd.h>
 
 #include "compiler.h"
 #include "types.h"
 #include "syscall.h"
 #include "parasite.h"
-#include "image.h"
 #include "util.h"
 #include "util-net.h"
-#include "crtools.h"
 
 #ifdef CONFIG_X86_64
 


More information about the CRIU mailing list