Commit f703f319 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

sk-queue: Move struct sk_packet to C file

No need to keep it in header, sk_packet used solely in one C file.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a8c2bd0c
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
#include "crtools.h" #include "crtools.h"
#include "image.h" #include "image.h"
struct sk_packet {
struct list_head list;
struct sk_packet_entry *entry;
off_t img_off;
};
extern int read_sk_queues(void); extern int read_sk_queues(void);
extern int dump_sk_queue(int sock_fd, int sock_id); extern int dump_sk_queue(int sock_fd, int sock_id);
extern void show_sk_queues(int fd, struct cr_options *o); extern void show_sk_queues(int fd, struct cr_options *o);
......
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
#include "sk-queue.h" #include "sk-queue.h"
struct sk_packet {
struct list_head list;
struct sk_packet_entry *entry;
off_t img_off;
};
static LIST_HEAD(packets_list); static LIST_HEAD(packets_list);
int read_sk_queues(void) int read_sk_queues(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment