2
0
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:
Pavel Emelyanov
2013-04-16 12:09:16 +04:00
parent 37c37416ac
commit 8f9dd8f76c
2 changed files with 1 additions and 2 deletions

View File

@@ -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);

View File

@@ -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;