commit | aecd4ecb8d4c8d58454a37778456e76f23090efd | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Fri Nov 02 12:35:30 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun Nov 04 11:37:24 2018 -0500 |
tree | 03e34df52cfd8c6a8f55eed311d8b6177c5b7947 | |
parent | dfbe03249d024bcf187d56864a20e0eb1e3c46e7 [diff] |
kernel: Change k_poll_signal api k_poll_signal was being used by both, struct and function. Besides this being extremely error prone it is also a MISRA-C violation. Changing the function to contain a verb, since it performs an action and the struct will be a noun. This pattern must be formalized and followed and across the project. MISRA-C rules 5.7 and 5.9 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>