Fix scope of function to static
Signed-off-by: Jean-Jacques Sarton jj.sarton@t-online.de --- batadv_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/batadv_query.c b/batadv_query.c index dc8a042..69f5a48 100644 --- a/batadv_query.c +++ b/batadv_query.c @@ -136,7 +136,7 @@ int ipv6_to_mac(const struct in6_addr *addr, struct ether_addr *mac) return 0; }
-int batadv_interface_check_debugfs(const char *mesh_iface) +static int batadv_interface_check_debugfs(const char *mesh_iface) { char full_path[MAX_PATH + 1]; FILE *f;
On Sonntag, 6. November 2016 11:16:34 CET Jean-Jacques Sarton wrote:
Fix scope of function to static
Signed-off-by: Jean-Jacques Sarton jj.sarton@t-online.de
batadv_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Please read my reply to https://patchwork.open-mesh.org/patch/16803/
Same applies here.
Kind regards, Sven
diff --git a/batadv_query.c b/batadv_query.c index dc8a042..69f5a48 100644 --- a/batadv_query.c +++ b/batadv_query.c @@ -136,7 +136,7 @@ int ipv6_to_mac(const struct in6_addr *addr, struct ether_addr *mac) return 0; }
-int batadv_interface_check_debugfs(const char *mesh_iface) +static int batadv_interface_check_debugfs(const char *mesh_iface) { char full_path[MAX_PATH + 1]; FILE *f;
b.a.t.m.a.n@lists.open-mesh.org