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

Submitted by Pavel Emelianov on May 20, 2016, 4:55 p.m.

Details

Message ID 573F416B.8080304@virtuozzo.com
State Accepted
Series "Some cleanups over headers"
Commit 59b9398ba5f608a4542a30d34786249ee6c31ba2
Headers show

Commit Message

Pavel Emelianov May 20, 2016, 4:55 p.m.
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 criu/include/crtools.h | 1 -
 criu/include/pstree.h  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;