From owner-cvs-src-old@FreeBSD.ORG Thu Jun 11 17:21:23 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CAF8106567E for ; Thu, 11 Jun 2009 17:21:23 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 762F58FC17 for ; Thu, 11 Jun 2009 17:21:22 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5BHLM7h007231 for ; Thu, 11 Jun 2009 17:21:22 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5BHLM5B007230 for cvs-src-old@freebsd.org; Thu, 11 Jun 2009 17:21:22 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <200906111721.n5BHLM5B007230@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Thu, 11 Jun 2009 17:21:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys kobj.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 17:21:23 -0000 avg 2009-06-11 17:21:14 UTC FreeBSD src repository Modified files: sys/sys kobj.h Log: SVN rev 194028 on 2009-06-11 17:21:14Z by avg KOBJMETHOD: use better construct in the checking version of the macro Big thanks to Christoph Mallon for the idea/code! This construct has benefit of sticking much stricter to C standard and thus keeping more compilers happy as Clang doesn't like the current construct because it doesn't treat FUNC != NULL as a compile-time constant. The checking version is still under 'notyet'. Pointed out by: ed Submitted by: Christoph Mallon Clang help by: rdivacky Reviewed by: imp Approved by: jhb Revision Changes Path 1.15 +1 -1 src/sys/sys/kobj.h