<sys/proc.h>: Make ONLY_LWP_IN_PROC() an inline function.
authorSascha Wildner <saw@online.de>
Mon, 11 Mar 2013 16:53:32 +0000 (17:53 +0100)
committerSascha Wildner <saw@online.de>
Mon, 11 Mar 2013 16:54:21 +0000 (17:54 +0100)
commit97c67890feda8bc1174abeb6da5b0c569d6b868e
tree3c0bdd0d1929e3574ae568c8d001fa2c2f0af535
parent4c77af2da1d56e9bf10a0f03e974dbbf6a967810
<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.
sys/sys/proc.h