[CRIU] [PATCH 2/5] crtools: remove extra headers from headers

Andrey Vagin avagin at openvz.org
Wed Nov 6 05:21:10 PST 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/eventfd.h   | 5 -----
 include/eventpoll.h | 5 -----
 include/fsnotify.h  | 4 ----
 include/sockets.h   | 3 ---
 4 files changed, 17 deletions(-)

diff --git a/include/eventfd.h b/include/eventfd.h
index b36e24c..22a62a0 100644
--- a/include/eventfd.h
+++ b/include/eventfd.h
@@ -1,11 +1,6 @@
 #ifndef __CR_EVENTFD_H__
 #define __CR_EVENTFD_H__
 
-#include <sys/types.h>
-#include <unistd.h>
-
-#include "compiler.h"
-#include "asm/types.h"
 #include "files.h"
 
 extern int is_eventfd_link(int lfd);
diff --git a/include/eventpoll.h b/include/eventpoll.h
index 6224e2a..4e6c112 100644
--- a/include/eventpoll.h
+++ b/include/eventpoll.h
@@ -1,11 +1,6 @@
 #ifndef __CR_EVENTPOLL_H__
 #define __CR_EVENTPOLL_H__
 
-#include <sys/types.h>
-#include <unistd.h>
-
-#include "compiler.h"
-#include "asm/types.h"
 #include "files.h"
 
 extern int is_eventpoll_link(int lfd);
diff --git a/include/fsnotify.h b/include/fsnotify.h
index d4e41f9..a882fd9 100644
--- a/include/fsnotify.h
+++ b/include/fsnotify.h
@@ -1,10 +1,6 @@
 #ifndef __CR_FSNOTIFY_H__
 #define __CR_FSNOTIFY_H__
 
-#include <sys/types.h>
-#include <unistd.h>
-
-#include "compiler.h"
 #include "asm/types.h"
 #include "files.h"
 
diff --git a/include/sockets.h b/include/sockets.h
index b318172..b11cdee 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -1,9 +1,6 @@
 #ifndef __CR_SOCKETS_H__
 #define __CR_SOCKETS_H__
 
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <unistd.h>
 #include <stdbool.h>
 
 #include "asm/types.h"
-- 
1.8.3.1



More information about the CRIU mailing list