From e3fb52e375d2fdd7160395220cf52eb25dfc8c09 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 30 Mar 2020 14:16:30 +0300 Subject: [PATCH] remove header include statements duplicates Revert "util: introduce the mount_detached_fs helper" This reverts commit 5dbc24b206cd365db7498dddcd03798c5d8ed4e4. Revert "criu: Make use strlcpy() to copy into allocated strings" This reverts commit bc49927bbc28b41e4b2759d42dc24f1d66e22df3. Fixes for https://github.com/checkpoint-restore/criu/pull/1003 Signed-off-by: Pavel Tikhomirov --- criu/cr-restore.c | 1 - criu/util.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/criu/cr-restore.c b/criu/cr-restore.c index 1d3092f2f..74be1a5ca 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -76,7 +76,6 @@ #include "fdstore.h" #include "string.h" #include "memfd.h" -#include "string.h" #include "parasite-syscall.h" #include "files-reg.h" diff --git a/criu/util.c b/criu/util.c index a0a49c5a3..1646ce1c4 100644 --- a/criu/util.c +++ b/criu/util.c @@ -30,8 +30,6 @@ #include "linux/mount.h" -#include "linux/mount.h" - #include "kerndat.h" #include "page.h" #include "util.h"