From c485b14bdc0d8e1fb2d6ad19057bf328e4118cfd Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 13 Feb 2018 10:03:43 +0100 Subject: [PATCH] lib: netns checkstyle fix A space is appended between RB_FOREACH and ' ', to comply with style practiced in frr. Signed-off-by: Philippe Guibert --- lib/netns_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/netns_linux.c b/lib/netns_linux.c index c14d2ea4b4..c2282f844c 100644 --- a/lib/netns_linux.c +++ b/lib/netns_linux.c @@ -130,7 +130,7 @@ static struct ns *ns_lookup_name_internal(const char *name) { struct ns *ns = NULL; - RB_FOREACH(ns, ns_head, &ns_tree) { + RB_FOREACH (ns, ns_head, &ns_tree) { if (ns->name != NULL) { if (strcmp(name, ns->name) == 0) return ns; @@ -328,7 +328,7 @@ void ns_walk_func(int (*func)(struct ns *)) { struct ns *ns = NULL; - RB_FOREACH(ns, ns_head, &ns_tree) + RB_FOREACH (ns, ns_head, &ns_tree) func(ns); } -- 2.39.5