commit | 625ac2e79f85ba0bce19dea85c43812fef6b2c6c | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Thu Mar 14 11:41:21 2019 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Mar 26 22:06:45 2019 -0400 |
tree | af44ae7ca410f535ae705e21608c985f50cf16e7 | |
parent | ce696e9aa2814e029a8bbb7c97ecefec08d76a2f [diff] |
spinlock: Change function signature to return bool Functions z_spin_lock_valid and z_spin_unlock_valid are essentially boolean functions, just change their signature to return a bool instead of an integer. MISRA-C rule 10.1 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>