Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 17:21:14 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys kobj.h
Message-ID:  <200906111721.n5BHLM5B007230@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <christoph.mallon@gmx.de>
  Clang help by:  rdivacky
  Reviewed by:    imp
  Approved by:    jhb
  
  Revision  Changes    Path
  1.15      +1 -1      src/sys/sys/kobj.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906111721.n5BHLM5B007230>