[CRIU] [PATCH 2/2] mount: make __depopulate_roots_yard static

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Mon Dec 10 15:33:56 MSK 2018


As these function is never used outside of criu/mount.c

Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 criu/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/mount.c b/criu/mount.c
index 5a97c1f1b..f578c7b6a 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -3179,7 +3179,7 @@ static int populate_mnt_ns(void)
 	return ret;
 }
 
-int __depopulate_roots_yard(void)
+static int __depopulate_roots_yard(void)
 {
 	int ret = 0;
 
-- 
2.17.1



More information about the CRIU mailing list