From f57431cdc88f22fa4d7962946f0d3187fe058539 Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Fri, 30 Nov 2018 14:56:41 +0100 Subject: uncrustify openvpn/ sources There are an amazing number of brackets that were either totally missing, or have snuck up on the "for(...){" line. Further, uncrustify wants "|" in multi-line logical expressions now at the beginning of the new line, and "PRIi64" now gets surrounding spaces. Added "sp_after_semi_for_empty=Add" to uncrustify.conf to leave a few for() statements alone that look better the way they are. Signed-off-by: Gert Doering Acked-by: David Sommerseth Message-Id: <20181130135641.11533-3-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17970.html Signed-off-by: David Sommerseth --- dev-tools/uncrustify.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dev-tools') diff --git a/dev-tools/uncrustify.conf b/dev-tools/uncrustify.conf index d8ea870..25eb4cd 100644 --- a/dev-tools/uncrustify.conf +++ b/dev-tools/uncrustify.conf @@ -60,6 +60,9 @@ mod_add_long_ifdef_else_comment=5 # Misc cleanup mod_remove_extra_semicolon=true +# leave blank at end of empty for() statements +sp_after_semi_for_empty=Add + # Use C-style comments (/* .. */) cmt_c_nl_end=true cmt_star_cont=true -- cgit v1.1