]> git.mdlowis.com Git - proto/labwc.git/commit
checkpatch: patch to suit labwc coding style
authorJohan Malm <jgm323@gmail.com>
Tue, 1 Nov 2022 20:48:16 +0000 (20:48 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 3 Nov 2022 19:20:23 +0000 (19:20 +0000)
commita361bae699185faa467c59c450bd1d7ecb181333
tree1e46f988105aa3a5fd0c24ab349ad34081db4b80
parentb4b3e1b28d38a6bbc13caea412eca4584d1de5cc
checkpatch: patch to suit labwc coding style

Coding style specific changes include:

- Accept pango, glib and libxml2 CamelCase variables
- Remove "need consistent spacing around '*'" warning
- Do not warn about "structs that should be const"
- Do not warn on braces {} around single statements
- Do not warn about braces {} for single statement blocks
- Do not warn about wanting { on previous line for functions
- Remove check for missing blank line after declaration
- Ignore SPLIT_STRING COMPLEX_MACRO PREFER_KERNEL_TYPES
  LOGICAL_CONTINUATIONS PARENTHESIS_ALIGNMENT OPEN_ENDED_LINE
  MACRO_ARG_REUSE PREFER_FALLTHROUGH ARRAY_SIZE INITIALISED_STATIC

Other changes include:

- Do not complain about missing spelling.txt
- Print filename for each file, but no summary line
scripts/checkpatch.pl