mirror of
https://github.com/apache/nuttx.git
synced 2026-08-13 08:25:13 +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>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fs_chstat.c | ||
| fs_close.c | ||
| fs_dir.c | ||
| fs_dup.c | ||
| fs_dup2.c | ||
| fs_epoll.c | ||
| fs_eventfd.c | ||
| fs_fchstat.c | ||
| fs_fcntl.c | ||
| fs_fstat.c | ||
| fs_fstatfs.c | ||
| fs_fsync.c | ||
| fs_ioctl.c | ||
| fs_link.c | ||
| fs_lock.c | ||
| fs_lseek.c | ||
| fs_mkdir.c | ||
| fs_open.c | ||
| fs_poll.c | ||
| fs_pread.c | ||
| fs_pseudofile.c | ||
| fs_pwrite.c | ||
| fs_read.c | ||
| fs_readlink.c | ||
| fs_rename.c | ||
| fs_rmdir.c | ||
| fs_select.c | ||
| fs_sendfile.c | ||
| fs_signalfd.c | ||
| fs_stat.c | ||
| fs_statfs.c | ||
| fs_symlink.c | ||
| fs_syncfs.c | ||
| fs_timerfd.c | ||
| fs_truncate.c | ||
| fs_unlink.c | ||
| fs_write.c | ||
| Kconfig | ||
| lock.h | ||
| Make.defs | ||