From: Johannes Berg Date: Fri, 18 Sep 2015 08:46:57 +0000 (+0200) Subject: iw: make netns_get_fd static X-Git-Tag: v4.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0441e655b29de328f48f26d501263d6155c87e9;p=thirdparty%2Fiw.git iw: make netns_get_fd static This can be static since it's only used right there. Signed-off-by: Johannes Berg --- diff --git a/phy.c b/phy.c index 19f9ceb..39b68c4 100644 --- a/phy.c +++ b/phy.c @@ -299,7 +299,7 @@ COMMAND(set, retry, "[short ] [long ]", #ifndef NETNS_RUN_DIR #define NETNS_RUN_DIR "/var/run/netns" #endif -int netns_get_fd(const char *name) +static int netns_get_fd(const char *name) { char pathbuf[MAXPATHLEN]; const char *path, *ptr;