git: kernel - Cleanup macros

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 1 12:52:50 PST 2016


commit 6acf62dba79dc7c6d53c5ed0cd238d509260ad9b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 1 12:52:08 2016 -0800

    kernel - Cleanup macros
    
    * Fix ssb_insert_knote() and friends to use do { ... } while(0) intead
      of { }, which fixes a double-statement issue with the macro.

Summary of changes:
 sys/sys/socketvar.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6acf62dba79dc7c6d53c5ed0cd238d509260ad9b


-- 
DragonFly BSD source repository


More information about the Commits mailing list