Message ID | 1478427394-11607-1-git-send-email-jj.sarton@t-online.de |
---|---|
State | Rejected, archived |
Headers | show |
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; >
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;
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(-)