audit.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: audit@vger.kernel.org
Subject: Re: [PATCH] tools: update astyle config for astyle v3.2.x
Date: Fri, 28 Apr 2023 16:32:04 -0400	[thread overview]
Message-ID: <CAHC9VhRqALJq+-L2Q9TFuqJ7FTu8rJSFwAD53dNZDiqh=fOMXw@mail.gmail.com> (raw)
In-Reply-To: <20230428203007.651380-1-paul@paul-moore.com>

On Fri, Apr 28, 2023 at 4:30 PM Paul Moore <paul@paul-moore.com> wrote:
>
> It appears that '--indent-preprocessor' and
> '--max-instatement-indent' are no longer supported command line
> options, remove them.
>
> Signed-off-by: Paul Moore <paul@paul-moore.com>
> ---
>  tools/check-syntax | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/tools/check-syntax b/tools/check-syntax
> index 03bca8a..eacd92d 100755
> --- a/tools/check-syntax
> +++ b/tools/check-syntax
> @@ -69,17 +69,14 @@ function tool_c_style() {
>         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 \
>                 --pad-oper \
>                 --align-pointer=name \
>                 --align-reference=name \
>                 --max-code-length=80 \
>                 --break-after-logical < "$1"
>  }
> -

Ooops, I forgot to refresh my patch after fixing that whitespace removal.

Regardless, I've merged this patch.

>  #
>  # Generate a properly formatted Perl source file
>  # $1 - source file
> --
> 2.40.1

-- 
paul-moore.com

      reply	other threads:[~2023-04-28 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 20:30 [PATCH] tools: update astyle config for astyle v3.2.x Paul Moore
2023-04-28 20:32 ` Paul Moore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHC9VhRqALJq+-L2Q9TFuqJ7FTu8rJSFwAD53dNZDiqh=fOMXw@mail.gmail.com' \
    --to=paul@paul-moore.com \
    --cc=audit@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).