git: kernel -- kref: Add KREF_DEC macro to allow braced blocks for destructors.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Mon Jan 10 20:03:31 PST 2011


commit cf327fd150eb3896ddcc879538589eb01a351d1f
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Mon Jan 10 20:01:02 2011 -0800

    kernel -- kref: Add KREF_DEC macro to allow braced blocks for destructors.
    
    Convert sfbuf to use braced blocks on unref.

Summary of changes:
 sys/kern/kern_sfbuf.c |   14 +++++---------
 sys/sys/ref.h         |    8 ++++++++
 2 files changed, 13 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf327fd150eb3896ddcc879538589eb01a351d1f


-- 
DragonFly BSD source repository





More information about the Commits mailing list