mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
This commit is contained in:
@@ -263,7 +263,7 @@ in_addr_t netdev_ipaddr_addr(const char *cp)
|
||||
|
||||
#if NETDEV_IPV6
|
||||
|
||||
RT_WEAK const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
|
||||
rt_weak const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
|
||||
|
||||
/**
|
||||
* Check whether "cp" is a valid ascii representation
|
||||
|
||||
Reference in New Issue
Block a user