docs/checksrc: Add documentation for STRERROR

Closes #7991
This commit is contained in:
Rikard Falkeborn 2021-11-11 15:26:39 +01:00 committed by Daniel Stenberg
parent 76d9e07c6b
commit 4d58a94cd8
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -130,11 +130,13 @@ the directory where they should be activated with commands to enable the
warnings you are interested in. The format of the file is to enable one
warning per line like so: `enable <EXTENDEDWARNING>`
Currently there is one extended warning which can be enabled:
Currently these are the extended warnings which can be enabled:
- `COPYRIGHTYEAR`: the current changeset has not updated the copyright year in
the source file
- `STRERROR`: use of banned function strerror()
## Ignore certain warnings
Due to the nature of the source code and the flaws of the checksrc tool, there