[CRIU] [PATCH 8/9] sk: Move protobuf.h from socket .h-s to sk-inet.c
Pavel Emelyanov
xemul at virtuozzo.com
Fri Oct 21 05:51:48 PDT 2016
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
criu/include/sk-inet.h | 1 -
criu/include/sockets.h | 1 -
criu/sk-inet.c | 1 +
3 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/criu/include/sk-inet.h b/criu/include/sk-inet.h
index 326d1b9..a06a8ac 100644
--- a/criu/include/sk-inet.h
+++ b/criu/include/sk-inet.h
@@ -6,7 +6,6 @@
#include "sockets.h"
#include "files.h"
#include "common/list.h"
-#include "protobuf.h"
#include "images/sk-inet.pb-c.h"
#define INET_ADDR_LEN 48 /* max of INET_ADDRSTRLEN and INET6_ADDRSTRLEN */
diff --git a/criu/include/sockets.h b/criu/include/sockets.h
index 212d24b..0de527c 100644
--- a/criu/include/sockets.h
+++ b/criu/include/sockets.h
@@ -4,7 +4,6 @@
#include <stdbool.h>
#include <sys/socket.h>
-#include "protobuf.h"
#include "images/sk-opts.pb-c.h"
struct fdinfo_list_entry;
diff --git a/criu/sk-inet.c b/criu/sk-inet.c
index 22ac3a8..924cf8c 100644
--- a/criu/sk-inet.c
+++ b/criu/sk-inet.c
@@ -21,6 +21,7 @@
#include "rst-malloc.h"
#include "sockets.h"
#include "sk-inet.h"
+#include "protobuf.h"
#include "util.h"
#define PB_ALEN_INET 1
--
2.1.4
More information about the CRIU
mailing list