[CRIU] [PATCH 1/3] cg: Mark cgroup_contains as static

Pavel Emelyanov xemul at parallels.com
Mon Jul 14 06:39:42 PDT 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgroup.c b/cgroup.c
index 57ee989..77bef59 100644
--- a/cgroup.c
+++ b/cgroup.c
@@ -172,7 +172,7 @@ int parse_cg_info(void)
 /* Check that co-mounted controllers from /proc/cgroups (e.g. cpu and cpuacct)
  * are contained in a comma separated string (e.g. from /proc/self/cgroup or
  * mount options). */
-bool cgroup_contains(char **controllers, unsigned int n_controllers, char *name)
+static bool cgroup_contains(char **controllers, unsigned int n_controllers, char *name)
 {
 	unsigned int i;
 	bool all_match = true;
-- 
1.8.4.2




More information about the CRIU mailing list