[CRIU] [PATCH 4/5] log: move print_*data from crtools.h in log.h

Andrey Vagin avagin at openvz.org
Wed Nov 6 05:21:12 PST 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/crtools.h | 3 ---
 include/log.h     | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/crtools.h b/include/crtools.h
index b7f0336..bd8fac3 100644
--- a/include/crtools.h
+++ b/include/crtools.h
@@ -13,9 +13,6 @@ int check_img_inventory(void);
 int write_img_inventory(void);
 void kill_inventory(void);
 
-extern void print_data(unsigned long addr, unsigned char *data, size_t size);
-extern void print_image_data(int fd, unsigned int length, int show);
-
 #define LAST_PID_PATH		"/proc/sys/kernel/ns_last_pid"
 
 int cr_dump_tasks(pid_t pid);
diff --git a/include/log.h b/include/log.h
index bf05ec8..c9f4412 100644
--- a/include/log.h
+++ b/include/log.h
@@ -61,4 +61,7 @@ extern int write_pidfile(char *pfname, int pid);
 
 #define DEFAULT_LOG_FILENAME "criu.log"
 
+extern void print_data(unsigned long addr, unsigned char *data, size_t size);
+extern void print_image_data(int fd, unsigned int length, int show);
+
 #endif /* __CR_LOG_H__ */
-- 
1.8.3.1



More information about the CRIU mailing list