zephyr/include/sys
Peter Bigot fe74218956 sys: util.h: remove template implementation of ARRAY_SIZE
This was added because GNU G++ doesn't support the built-in function
used to produce a compile-time error when invalid parameters are
passed to the macro imlementation.  The template implementation does
not work on declarations like this:

  mytype array[] = { ... }

because it requires an explicit size for the template parameter.

Remove the template specialization, and support C++ with a version of
the macro that doesn't involve references to undefined builtins.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-10 12:02:45 +02:00
..
__assert.h
arch_interface.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
atomic.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
base64.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
byteorder.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
check.h
crc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dlist.h
errno_private.h
fdtable.h net: sockets: Extend ioctl poll protocol with offloading feature 2020-01-31 11:36:02 -05:00
libc-hooks.h
list_gen.h
math_extras_impl.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
math_extras.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool_base.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mutex.h kernel: rename initializers to be internal 2020-04-24 22:27:08 +02:00
notify.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
onoff.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
printk.h
rb.h
ring_buffer.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sem.h kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
sflist.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
slist.h
speculation.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sys_heap.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sys_io.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
thread_stack.h kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
time_units.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timeutil.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
util.h sys: util.h: remove template implementation of ARRAY_SIZE 2020-06-10 12:02:45 +02:00