summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-08-09 20:07:23 +0000
committerrillig <rillig@NetBSD.org>2021-08-09 20:07:23 +0000
commitbb8ca2d9cb64e420b74f6a8b26bc0ef2a4c0e5b1 (patch)
tree28b7a9457be932abc415f21608e81ae1009aeb3c /include
parent91dfe799a6996f8d6d00b73ac7357db94ee01c1a (diff)
lint: warn about 'char * = strchr(const char *, int)'
Found in findcc.c, there are about 25 other instances of this incongruency in the whole source tree. For more examples of functions from the C Standard Library that implicitly remove the 'const' qualifier from an argument, see the C++ include file 'cstring'.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions