diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-09-15 12:47:35 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-09-15 14:53:46 -0300 | 
| commit | a2addae8fe172f04f4d8ac99aa123a7d2dd64604 (patch) | |
| tree | c58663b6654a9bec64ac4c26e11d158fd48b34ad /pimd/pimd.c | |
| parent | 461b76e4ed82f3bb3f71499cfb2025959affca9b (diff) | |
*: use clang's 'ForEachMacros' format style option
This fixes the broken indentation of several foreach loops throughout
the code.
From clang's documentation[1]:
  ForEachMacros: A vector of macros that should be interpreted as foreach
  loops instead of as function calls.
[1] http://clang.llvm.org/docs/ClangFormatStyleOptions.html
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'pimd/pimd.c')
| -rw-r--r-- | pimd/pimd.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index 37c79d4554..52e0920f1f 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -72,8 +72,7 @@ void pim_prefix_list_update(struct prefix_list *plist)  	struct pim_instance *pim;  	struct vrf *vrf; -	RB_FOREACH(vrf, vrf_name_head, &vrfs_by_name) -	{ +	RB_FOREACH (vrf, vrf_name_head, &vrfs_by_name) {  		pim = vrf->info;  		if (!pim)  			continue;  | 
