[CRIU] [PATCH 09/10] crtools.h: Move prepare_task_entries from it

Pavel Emelyanov xemul at virtuozzo.com
Fri May 20 09:55:07 PDT 2016


Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/include/crtools.h | 1 -
 criu/include/pstree.h  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/include/crtools.h b/criu/include/crtools.h
index af1d9aa..f74c433 100644
--- a/criu/include/crtools.h
+++ b/criu/include/crtools.h
@@ -26,7 +26,6 @@ extern int cr_check(void);
 extern int cr_exec(int pid, char **opts);
 extern int cr_dedup(void);
 extern int cr_lazy_pages(void);
-extern int prepare_task_entries(void);
 
 extern int check_add_feature(char *arg);
 
diff --git a/criu/include/pstree.h b/criu/include/pstree.h
index 2af3604..75ce865 100644
--- a/criu/include/pstree.h
+++ b/criu/include/pstree.h
@@ -86,6 +86,7 @@ extern int pid_to_virt(pid_t pid);
 
 struct task_entries;
 extern struct task_entries *task_entries;
+extern int prepare_task_entries(void);
 
 extern int get_task_ids(struct pstree_item *);
 extern struct _TaskKobjIdsEntry *root_ids;
-- 
2.5.0



More information about the CRIU mailing list