From f1c3196d9b95de22dde8f23c5befcbeabef5711c Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Tue, 9 May 2023 13:28:44 -0400 Subject: tools: update astyle config for astyle v3.2.x It appears that '--indent-preprocessor' and '--max-instatement-indent' are no longer supported command line options, remove them. Minor tweak to db_col_init() to appease astyle, no functional changes. Signed-off-by: Paul Moore --- tools/check-syntax | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/check-syntax b/tools/check-syntax index a8df9f9..6a80035 100755 --- a/tools/check-syntax +++ b/tools/check-syntax @@ -81,10 +81,9 @@ function tool_c_style() { cat - | astyle --options=none --lineend=linux --mode=c \ --style=linux \ --indent=force-tab=8 \ - --indent-preprocessor \ --indent-col1-comments \ --min-conditional-indent=0 \ - --max-instatement-indent=80 \ + --max-continuation-indent=80 \ --pad-oper \ --align-pointer=name \ --align-reference=name \ -- cgit v1.2.1