[CRIU] [PATCH 2/9] log: Remove print_data() from log header
Pavel Emelyanov
xemul at virtuozzo.com
Fri Oct 21 05:50:01 PDT 2016
It is in util.c and declaration IS in util.h
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
criu/cr-exec.c | 2 +-
criu/include/log.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/criu/cr-exec.c b/criu/cr-exec.c
index 0136d82..c781d35 100644
--- a/criu/cr-exec.c
+++ b/criu/cr-exec.c
@@ -6,7 +6,7 @@
#include "pstree.h"
#include "parasite-syscall.h"
#include "vma.h"
-#include "log.h"
+#include "criu-log.h"
#include "util.h"
#include "kerndat.h"
diff --git a/criu/include/log.h b/criu/include/log.h
index 9e544d5..7a5b198 100644
--- a/criu/include/log.h
+++ b/criu/include/log.h
@@ -30,8 +30,6 @@ extern int write_pidfile(int pid);
#define DEFAULT_LOG_FILENAME "criu.log"
-extern void print_data(unsigned long addr, unsigned char *data, size_t size);
-
static inline int pr_quelled(unsigned int loglevel)
{
return log_get_loglevel() < loglevel && loglevel != LOG_MSG;
--
2.1.4
More information about the CRIU
mailing list