]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch the rest of the refcount(9) functions to bool return type.
authorkib <kib@FreeBSD.org>
Sun, 21 Jul 2019 20:16:48 +0000 (20:16 +0000)
committerkib <kib@FreeBSD.org>
Sun, 21 Jul 2019 20:16:48 +0000 (20:16 +0000)
commitc8ac9961b7d7471bb469bf4353f8c9a88a7e892c
tree2b0602a50c90504bb5a469a6f5781b3f1fa67f07
parentce19d4db5f9a920531d6b6f1ea19cd81128b002f
Switch the rest of the refcount(9) functions to bool return type.

There are some explicit comparisions of refcount_release(9) result
with 0/1, which are fine.

Reviewed by: markj, mjg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D21014
share/man/man9/refcount.9
sys/sys/refcount.h