Commit 9428f3a9 authored by Pavel Emelyanov's avatar Pavel Emelyanov

dump: Make collect_mappings non static

Will be used by other code.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4199022b
...@@ -81,7 +81,7 @@ void free_mappings(struct list_head *vma_area_list) ...@@ -81,7 +81,7 @@ void free_mappings(struct list_head *vma_area_list)
INIT_LIST_HEAD(vma_area_list); INIT_LIST_HEAD(vma_area_list);
} }
static int collect_mappings(pid_t pid, struct list_head *vma_area_list) int collect_mappings(pid_t pid, struct list_head *vma_area_list)
{ {
int ret = -1; int ret = -1;
......
...@@ -206,6 +206,7 @@ struct cr_fdset *cr_glob_fdset_open(int mode); ...@@ -206,6 +206,7 @@ struct cr_fdset *cr_glob_fdset_open(int mode);
void close_cr_fdset(struct cr_fdset **cr_fdset); void close_cr_fdset(struct cr_fdset **cr_fdset);
int collect_mappings(pid_t pid, struct list_head *vma_area_list);
void free_mappings(struct list_head *vma_area_list); void free_mappings(struct list_head *vma_area_list);
struct vma_area { struct vma_area {
......
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