git: DragonFly_RELEASE_4_6 kernel - Cleanup macros

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Dec 2 14:33:45 PST 2016


commit 4081975f36d22f728040928c8991e4d19b22f064
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/4081975f36d22f728040928c8991e4d19b22f064


-- 
DragonFly BSD source repository


More information about the Commits mailing list