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

git: <sys/proc.h>: Make ONLY_LWP_IN_PROC() an inline function.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Mar 2013 12:50:44 -0700 (PDT)

commit 97c67890feda8bc1174abeb6da5b0c569d6b868e
Author: Sascha Wildner <saw@online.de>
Date:   Mon Mar 11 17:53:32 2013 +0100

    <sys/proc.h>: Make ONLY_LWP_IN_PROC() an inline function.
    
    More readable, plus it also fixes some warnings we were getting with
    gcc47 (-Wunused-value).
    
    Thanks for comments to aggelos and vsrinivas.

Summary of changes:
 sys/sys/proc.h | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/97c67890feda8bc1174abeb6da5b0c569d6b868e


-- 
DragonFly BSD source repository



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