zephyr/lib/libc
Thiago Macieira eb7848a1df libc: Make no-debug assert() conform to C requirements
The C standard requires assert() to be a void result, so you
could write something like:

  return assert(x), x;

From the C11 standard (7.2 Diagnostic <assert.h>):
> If NDEBUG is defined as a macro name at the point in the source file
> where <assert.h> is included, the assert macro is defined simply as
>    #define assert(ignore) ((void)0)

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2017-10-25 10:43:38 -07:00
..
minimal libc: Make no-debug assert() conform to C requirements 2017-10-25 10:43:38 -07:00
newlib newlib: xtensa: Fix a newlib link error 2017-08-10 09:33:13 -05:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile libc: rework libc selection and reduce Kconfigs 2016-12-15 22:31:28 +00:00