public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [[PATCH] Alfred not working within network name space add static to function declaration
@ 2016-11-06 10:16 Jean-Jacques Sarton
  2016-11-06 10:48 ` Sven Eckelmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Jacques Sarton @ 2016-11-06 10:16 UTC (permalink / raw)
  To: b.a.t.m.a.n

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;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [[PATCH] Alfred not working within network name space add static to function declaration
  2016-11-06 10:16 [B.A.T.M.A.N.] [[PATCH] Alfred not working within network name space add static to function declaration Jean-Jacques Sarton
@ 2016-11-06 10:48 ` Sven Eckelmann
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Eckelmann @ 2016-11-06 10:48 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

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;
> 


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-06 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-06 10:16 [B.A.T.M.A.N.] [[PATCH] Alfred not working within network name space add static to function declaration Jean-Jacques Sarton
2016-11-06 10:48 ` Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox