From 72727bb3eda1ee536513d6360fbfc276f17d4c8f Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Wed, 6 Nov 2013 17:21:12 +0400 Subject: [PATCH] log: move print_*data from crtools.h in log.h Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- 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 b7f0336ca..bd8fac384 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 bf05ec865..c9f4412a1 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__ */