bea966dea1
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> |
||
---|---|---|
.. | ||
__assert.h | ||
atomic.h | ||
base64.h | ||
byteorder.h | ||
crc.h | ||
dlist.h | ||
errno_private.h | ||
fdtable.h | ||
libc-hooks.h | ||
list_gen.h | ||
math_extras.h | ||
math_extras_impl.h | ||
mempool.h | ||
mempool_base.h | ||
mutex.h | ||
printk.h | ||
rb.h | ||
ring_buffer.h | ||
sem.h | ||
sflist.h | ||
slist.h | ||
speculation.h | ||
sys_io.h | ||
timeutil.h | ||
util.h |