mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
a8c2bd0c5d
commit
f703f31990
@@ -6,12 +6,6 @@
|
||||
#include "crtools.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 dump_sk_queue(int sock_fd, int sock_id);
|
||||
extern void show_sk_queues(int fd, struct cr_options *o);
|
||||
|
@@ -19,6 +19,12 @@
|
||||
|
||||
#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);
|
||||
|
||||
int read_sk_queues(void)
|
||||
|
Reference in New Issue
Block a user