newlib is declaring __unused in cdef.h which was conflicting with
__unused member in struct net_buf. Use _unused name instead.
In file included from /work/Zephyr/project/zephyr-project/net/buf.c:27:0:
include/net/buf.h:38:14: error: declaration does not declare anything
[-Werror]
int __unused;
^
cc1: all warnings being treated as errors
Change-Id: I2df189a4d4aee0f982c2d28d24847052f6168d45
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
|
||
|---|---|---|
| .. | ||
| buf.h | ||
| ip_buf.h | ||
| l2_buf.h | ||
| net_core.h | ||
| net_ip.h | ||
| net_socket.h | ||
| tinydtls.h | ||