[4/7] remote: Remove unnecessary includes

Submitted by Radostin Stoyanov on July 8, 2018, 4:47 p.m.

Details

Message ID 20180708164711.857-5-rstoyanov1@gmail.com
State New
Series "Image-{cache,proxy} tweaks"
Headers show

Commit Message

Radostin Stoyanov July 8, 2018, 4:47 p.m.
pthread.h and semaphore.h are already included in img-remote.h

Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
---
 criu/img-cache.c  | 1 -
 criu/img-proxy.c  | 1 -
 criu/img-remote.c | 2 --
 3 files changed, 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/img-cache.c b/criu/img-cache.c
index 1eadb977..ac737150 100644
--- a/criu/img-cache.c
+++ b/criu/img-cache.c
@@ -2,7 +2,6 @@ 
 
 #include "img-remote.h"
 #include "criu-log.h"
-#include <pthread.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <fcntl.h>
diff --git a/criu/img-proxy.c b/criu/img-proxy.c
index a19d3050..34c23dda 100644
--- a/criu/img-proxy.c
+++ b/criu/img-proxy.c
@@ -2,7 +2,6 @@ 
 
 #include "img-remote.h"
 #include "criu-log.h"
-#include <pthread.h>
 #include <fcntl.h>
 #include <netdb.h>
 #include <sys/socket.h>
diff --git a/criu/img-remote.c b/criu/img-remote.c
index 51fa0337..77dd0411 100644
--- a/criu/img-remote.c
+++ b/criu/img-remote.c
@@ -15,9 +15,7 @@ 
 #include "common/compiler.h"
 #include "cr_options.h"
 
-#include <semaphore.h>
 #include "sys/un.h"
-#include <pthread.h>
 #include <sys/file.h>
 
 #include "protobuf.h"