summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-11-11 15:26:39 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-11 15:40:14 +0100
commit4d58a94cd80eb46d5deb98989d82c683a3f7e199 (patch)
tree163fabc0e847ab4c94b98686b9b7c4eae53ee34c
parent76d9e07c6b0d6e9312d0cbfaf25c42926453fcb4 (diff)
downloadcurl-4d58a94cd80eb46d5deb98989d82c683a3f7e199.tar.gz
docs/checksrc: Add documentation for STRERROR
Closes #7991
-rw-r--r--docs/CHECKSRC.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/CHECKSRC.md b/docs/CHECKSRC.md
index 97300112b..0d0e796e6 100644
--- a/docs/CHECKSRC.md
+++ b/docs/CHECKSRC.md
@@ -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