mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
page-server: Make open_page_server_xfer static
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -26,7 +26,6 @@ struct page_xfer {
|
||||
};
|
||||
|
||||
int open_page_xfer(struct page_xfer *xfer, int fd_type, long id);
|
||||
int open_page_server_xfer(struct page_xfer *, int fd_type, long id);
|
||||
struct page_pipe;
|
||||
int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *,
|
||||
unsigned long off);
|
||||
|
@@ -250,7 +250,7 @@ static void close_server_xfer(struct page_xfer *xfer)
|
||||
xfer->fd = -1;
|
||||
}
|
||||
|
||||
int open_page_server_xfer(struct page_xfer *xfer, int fd_type, long id)
|
||||
static int open_page_server_xfer(struct page_xfer *xfer, int fd_type, long id)
|
||||
{
|
||||
xfer->fd = page_server_sk;
|
||||
xfer->write_pagemap = write_pagemap_to_server;
|
||||
|
Reference in New Issue
Block a user