[CRIU] [PATCH 3/4] net: Make @devconfs static

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 30 13:07:57 PDT 2015


It is not used outside of net.c

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net.c b/net.c
index d4f762333c66..fb64d2ebfb62 100644
--- a/net.c
+++ b/net.c
@@ -51,7 +51,7 @@ int read_ns_sys_file(char *path, char *buf, int len)
 	return rlen;
 }
 
-char *devconfs[] = {
+static char *devconfs[] = {
 	"accept_local",
 	"accept_redirects",
 	"accept_source_route",
-- 
2.1.0



More information about the CRIU mailing list