]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When DDB is not defined, don't implement witness_thread_has_locks() and
authorrwatson <rwatson@FreeBSD.org>
Sat, 22 Jan 2005 21:14:21 +0000 (21:14 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sat, 22 Jan 2005 21:14:21 +0000 (21:14 +0000)
commit57c91a09d8922106e5393b74c93003e798e2df5d
treed0c4a66ad4b9f373acc3964cbdaac88a09cfd1c9
parent822cad40f8527cf77451023f5b4b0e83d7c5a0ee
When DDB is not defined, don't implement witness_thread_has_locks() and
witness_proc_has_locks(), as they are unused, which results in a compiler
error.  This problem was introduced with the implementation of "show
alllocks".

Spotted by: Artem Kuchin <matrix at itlegion dot ru>
sys/kern/subr_witness.c