[2/9] log: Remove print_data() from log header

Submitted by Pavel Emelianov on Oct. 21, 2016, 12:50 p.m.

Details

Message ID 580A0EF9.2080502@virtuozzo.com
State Superseded
Series "headers: Sanitize headers"
Headers show

Commit Message

Pavel Emelianov Oct. 21, 2016, 12:50 p.m.
It is in util.c and declaration IS in util.h

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 criu/cr-exec.c     | 2 +-
 criu/include/log.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

Patch hide | download patch | download mbox

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;