zephyr/lib/os
Kumar Gala 62ffafcb3d lib: os: fix armclang compiler warnings with is*() functions
We get compile warnings of the form:

error: converting the result of
'<<' to a boolean; did you mean
'((__aeabi_ctype_table_ + 1)[(byte)] << 28) != 0'?
 [-Werror,-Wint-in-bool-context]
                if (!isprint(byte)) {
                     ^

Since isprint (and the other is* functions) return an int, change check
to an explicit test against the return value.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-03-31 09:19:02 +02:00
..
assert.c
base64.c
bitarray.c
cbprintf_complete.c
cbprintf_nano.c
cbprintf_packaged.c
cbprintf.c
CMakeLists.txt
crc_shell.c
crc7_sw.c
crc8_sw.c
crc16_sw.c
crc32_sw.c
crc32c_sw.c
dec.c
fdtable.c
heap_listener.c
heap-validate.c
heap.c
heap.h
hex.c
json.c
Kconfig
Kconfig.cbprintf
Kconfig.heap
mem_blocks.c
mpsc_pbuf.c
multi_heap.c
mutex.c
notify.c
onoff.c
p4wq.c
printk.c
rb.c
reboot.c
ring_buffer.c
sem.c
shared_multi_heap.c
spsc_pbuf.c
thread_entry.c
timeutil.c
user_work.c
utf8.c
winstream.c