nuttx/drivers/power/battery
chao an 6d50274ebe nuttx/list: rename container_of to list_container_of from public header
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>
2024-02-29 19:44:54 +08:00
..
axp202.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
battery_charger.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
battery_gauge.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
battery_monitor.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
bq769x0.c
bq2425x.c
bq2425x.h
bq2429x.c
bq27426.c
CMakeLists.txt
goldfish_battery.c nuttx/list: rename container_of to list_container_of from public header 2024-02-29 19:44:54 +08:00
Kconfig
Make.defs
max1704x.c
mcp73871.c