zephyr/include/sys
Krzysztof Chruscinski bea966dea1 toolchain: Add single arguments evaluation macros for min and max
MAX() and MIN() were evaluating arguments twice. If arguments are
functions they were called twice which resulted in bigger code
and potential misbehavior.

Added alternative macros (Z_MAX, Z_MIN) which can be used instead.
Macros have usage limitations thus they are not replacements. They
are also relying on GCC extension thus placed in gcc.h

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2019-09-25 17:41:03 +02:00
..
__assert.h doc: provide error handling documentation 2019-09-23 23:45:08 +02:00
atomic.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
base64.h
byteorder.h sys: Explicitly include toolchain.h to check for endianness definitions. 2019-09-09 21:40:54 +02:00
crc.h
dlist.h sys: dlist: remove deprecated sys_dlist_insert_{before,after} 2019-09-11 11:18:20 -05:00
errno_private.h
fdtable.h
libc-hooks.h
list_gen.h
math_extras.h
math_extras_impl.h
mempool.h
mempool_base.h mempool: simplify the logic for sizing the free block bitmap 2019-07-31 10:09:29 -07:00
mutex.h
printk.h
rb.h
ring_buffer.h sys: ring_buffer: remove deprecated sys_ring_buf_* 2019-09-11 11:18:04 -05:00
sem.h sys_sem: straighten build time definition macros 2019-09-14 22:14:51 +08:00
sflist.h
slist.h
speculation.h
sys_io.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
timeutil.h lib/timeutil: avoid implementation-defined behavior 2019-09-19 20:49:51 -04:00
util.h toolchain: Add single arguments evaluation macros for min and max 2019-09-25 17:41:03 +02:00