Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 09:01:12 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys ktr.h lock.h lock_profile.h mutex.h sched.h sx.h
Message-ID:  <200906210901.n5L91U5f071317@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rdivacky    2009-06-21 09:01:12 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              ktr.h lock.h lock_profile.h mutex.h 
                         sched.h sx.h 
  Log:
  SVN rev 194578 on 2009-06-21 09:01:12Z by rdivacky
  
  In non-debugging mode make this define (void)0 instead of nothing. This
  helps to catch bugs like the below with clang.
  
          if (cond);              <--- note the trailing ;
             something();
  
  Approved by:    ed (mentor)
  Discussed on:   current@
  
  Revision  Changes    Path
  1.40      +7 -7      src/sys/sys/ktr.h
  1.78      +13 -13    src/sys/sys/lock.h
  1.20      +4 -4      src/sys/sys/lock_profile.h
  1.105     +1 -1      src/sys/sys/mutex.h
  1.41      +1 -1      src/sys/sys/sched.h
  1.42      +1 -1      src/sys/sys/sx.h



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