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

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Mar 11 12:50:44 PDT 2013


commit 97c67890feda8bc1174abeb6da5b0c569d6b868e
Author: Sascha Wildner <saw at 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


More information about the Commits mailing list