Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 17:29:11 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys _null.h
Message-ID:  <200905111729.n4BHTL8g010829@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-05-11 17:29:11 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              _null.h 
  Log:
  SVN rev 191996 on 2009-05-11 17:29:11Z by jhb
  
  Always use __null to define NULL for GCC 4+.  Use '0' rather than
  '(void *)0' for NULL for C++ compilers compiling kernel code.  Together this
  makes it easier to build kernel modules using C++.
  
  Reviewed by:    imp
  MFC after:      3 days
  
  Revision  Changes    Path
  1.9       +4 -4      src/sys/sys/_null.h



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