summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-08-29 17:01:27 +0000
committerrillig <rillig@NetBSD.org>2021-08-29 17:01:27 +0000
commita4f32fa3a7893fbef53c24e2bcda2227ab7bd5c9 (patch)
treef0f64f3acdd624667cf5b1665aece8d1b09733a2 /sys/dev
parentdf833c1158a5a551d0e9b17456c7a68cd0de4896 (diff)
lint: in C99 mode, make implicit function declarations an error
In tree.c 1.294 from 2021-06-28, I had already tried this, but at that time, there were too many implicit function definitions in the NetBSD tree. Most of them were GCC builtins, which lint did not recognize. Therefore I had to revert to a warning in tree.c 1.302 from 2021-06-30. In the meantime, lint has learnt to recognize compiler builtins, see is_compiler_builtin, so try again now. The build logs from x86_64, i386, sparc and sparc64 show no more implicit function declarations.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions