[CRIU] [PATCH 10/20] mnt: Mark rst_collect_local_mntns as void
Pavel Emelyanov
xemul at parallels.com
Tue Apr 22 09:37:29 PDT 2014
Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
include/mount.h | 2 +-
mount.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/mount.h b/include/mount.h
index a6ff4c4..aabb186 100644
--- a/include/mount.h
+++ b/include/mount.h
@@ -32,7 +32,7 @@ extern bool phys_stat_dev_match(struct mount_info *tree, dev_t st_dev,
extern int restore_task_mnt_ns(struct ns_id *nsid, pid_t pid);
extern int fini_mnt_ns(void);
-int rst_collect_local_mntns();
+int rst_collect_local_mntns(void);
char *rst_get_mnt_root(int mnt_id);
#endif /* __CR_MOUNT_H__ */
diff --git a/mount.c b/mount.c
index 9c64389..7361697 100644
--- a/mount.c
+++ b/mount.c
@@ -1420,7 +1420,7 @@ static int create_mnt_roots()
return 0;
}
-int rst_collect_local_mntns()
+int rst_collect_local_mntns(void)
{
struct ns_id *nsid;
--
1.7.6.5
More information about the CRIU
mailing list