aboutsummaryrefslogtreecommitdiff
path: root/autoreload.c
Commit message (Collapse)AuthorAgeFilesLines
* sort and group includesNRK2022-06-281-1/+1
| | | | | | | | | | | | | * includes are sorted alphabetically * their grouping and layout is the following: - nsxiv.h will be the first include - followed by any internal headers (e.g "commands.h" "config.h") - followed by system headers (<stdlib.h> etc) - followed by third party headers (X.h libwebp etc) * also add `llvm-include-order` check to clang-tidy so that it can catch unsorted includes during CI.
* [ci]: slience some clang-tidy warningsNRK2022-06-251-1/+1
| | | | | | | | | the warnings on r_readdir(), img_load_gif() and strcpy seems to be false positives. the warning about fmt being unused is valid, but not worth fixing with additional #ifdef guards. use `assert` to silence the false positive cases when possible, otherwise use a NOLINT comment with an explanation.
* merge autoreload_{inotify,nop}.c into autoreload.c (#263)explosion-mental2022-04-271-0/+139