DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Use do/while sequences to protect multi-line dsched macros


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2011 14:48:33 -0800 (PST)

commit fd87e9e4b293977dbbe9a61805338f2190c4a9a9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Mar 1 14:47:38 2011 -0800

    kernel - Use do/while sequences to protect multi-line dsched macros
    
    * Use do/while sequences to protect multi-line dsched macros in case
      they are used in statement sequences without braces, as in
      'if (fubar) dsched_macro;', or similar circumstances.

Summary of changes:
 sys/sys/dsched.h |   70 +++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 48 insertions(+), 22 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]