From owner-cvs-all@FreeBSD.ORG Sat Jan 22 21:14:21 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE68C16A4CE; Sat, 22 Jan 2005 21:14:21 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D8C43D2F; Sat, 22 Jan 2005 21:14:21 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0MLELSx096000; Sat, 22 Jan 2005 21:14:21 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0MLELYh095999; Sat, 22 Jan 2005 21:14:21 GMT (envelope-from rwatson) Message-Id: <200501222114.j0MLELYh095999@repoman.freebsd.org> From: Robert Watson Date: Sat, 22 Jan 2005 21:14:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_witness.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 21:14:22 -0000 rwatson 2005-01-22 21:14:21 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: 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 Revision Changes Path 1.187 +2 -0 src/sys/kern/subr_witness.c