mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 04:38:59 +00:00
Use private naming to avoid conflicts with user applications
In file included from libuv/src/unix/internal.h:25,
from libuv/src/unix/udp.c:23:
libuv/src/uv-common.h:57: warning: "container_of" redefined
57 | #define container_of(ptr, type, member) \
|
In file included from nuttx/include/nuttx/list.h:47,
from nuttx/include/nuttx/tls.h:40,
from nuttx/include/nuttx/sched.h:48,
from nuttx/include/nuttx/arch.h:87,
from nuttx/include/nuttx/userspace.h:35,
from nuttx/include/nuttx/mm/mm.h:30,
from nuttx/include/nuttx/kmalloc.h:34,
from nuttx/include/nuttx/lib/lib.h:31,
from nuttx/include/stdio.h:35,
from apps/system/libuv/libuv/include/uv.h:59,
from libuv/src/unix/udp.c:22:
nuttx/include/nuttx/nuttx.h:48: note: this is the location of the previous definition
48 | #define container_of(ptr, type, member) \
|
Signed-off-by: chao an <anchao@lixiang.com>
|
||
|---|---|---|
| .. | ||
| addrenv.c | ||
| CMakeLists.txt | ||
| dev_ascii.c | ||
| dev_null.c | ||
| dev_zero.c | ||
| Kconfig | ||
| lwl_console.c | ||
| Make.defs | ||
| mkrd.c | ||
| optee.c | ||
| optee_msg.h | ||
| ramdisk.c | ||
| rpmsgblk.c | ||
| rpmsgblk.h | ||
| rpmsgblk_server.c | ||
| rpmsgdev.c | ||
| rpmsgdev.h | ||
| rpmsgdev_server.c | ||
| rwbuffer.c | ||