aboutsummaryrefslogtreecommitdiff
path: root/tests/c-lint.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup repo, reinit in shEuAndreh2023-04-141-65/+0
|
* src/*.c: Add newline between function return type and its nameEuAndreh2021-08-271-13/+55
| | | | | | | | | | | | | The purpose of this change is two-fold: - make function and variable declarations grep-friendly (one can use a pattern /^fn_name/ to find the definition); - make the lines shorter, so less functions need to have their arguments span over many lines. This is more grep-friendly both for finding the function definition, but also for matching on the return type of the function or the variable. Update tests/c-lint.sh to enforce this.
* tests/c-lint.sh: Use grep exit status instead of empty string outputEuAndreh2021-08-221-2/+3
|
* tests/c-lint.sh: Add more strict linting rulesEuAndreh2021-08-191-0/+22