]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/checksrc: Add documentation for STRERROR
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Thu, 11 Nov 2021 14:26:39 +0000 (15:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2021 14:40:14 +0000 (15:40 +0100)
Closes #7991

docs/CHECKSRC.md

index 97300112b66014cbcf723ad5dc26a1410c759eb3..0d0e796e68ee31805786cfc3e942ed9a6860e2ce 100644 (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