From 43814b327dbbeda245c824bd05bbabf0549d978d Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 8 May 2024 12:35:30 +0200 Subject: [PATCH] uncrustify: replace deprecated nl_func_var_def_blk The option is deprecated, it has been replaced by nl_var_def_blk_end_func_top. This applies the change to our configuration file. --- uncrustify-riot.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncrustify-riot.cfg b/uncrustify-riot.cfg index f7672111ce..154a2e77aa 100644 --- a/uncrustify-riot.cfg +++ b/uncrustify-riot.cfg @@ -31,7 +31,7 @@ nl_while_brace = remove # "while () {" vs "while () \n { nl_switch_brace = remove # "switch () {" vs "switch () \n {" nl_brace_while = remove # "} while" vs "} \n while" - cuddle while nl_brace_else = add # "} \n else" vs "} else" -nl_func_var_def_blk = 1 # +nl_var_def_blk_end_func_top = 1 # nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{" nl_fdef_brace = add # "int foo() {" vs "int foo()\n{" nl_collapse_empty_body = true # set while(){\n} to while(){}